Ignore:
Timestamp:
08/24/15 14:53:27 (9 years ago)
Author:
mhnguyen
Message:

Change name of several axis attributes and remove some redundant variable of domain

+) Change name of axis attributes to make them consistent with ones of domain
+) Remove zoom_client_* of domain

Test
+) On Curie
+) All tests pass and are correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/transformation/axis_algorithm_zoom.cpp

    r630 r666  
    1919  zoomSize_  = zoomAxis->zoom_size.getValue(); 
    2020 
    21   if (zoomSize_ > axisSource->size.getValue()) 
     21  if (zoomSize_ > axisSource->n_glo.getValue()) 
    2222  { 
    2323    ERROR("CAxisAlgorithmZoom::CAxisAlgorithmZoom(CAxis* axisDestination, CAxis* axisSource, CZoomAxis* zoomAxis)", 
    24            << "Zoom size is greater than size of axis source" 
    25            << "Size of axis source " <<axisSource->getId() << " is " << axisSource->size.getValue()  << std::endl 
     24           << "Zoom size is greater than global size of axis source" 
     25           << "Global size of axis source " <<axisSource->getId() << " is " << axisSource->n_glo.getValue()  << std::endl 
    2626           << "Zoom size is " << zoomSize_ ); 
    2727  } 
     
    3535void CAxisAlgorithmZoom::computeIndexSourceMapping() 
    3636{ 
    37   StdSize niSource = axisSrc_->ni.getValue(); 
    38   StdSize ibeginSource = axisSrc_->ibegin.getValue(); 
     37  StdSize niSource = axisSrc_->n.getValue(); 
     38  StdSize ibeginSource = axisSrc_->begin.getValue(); 
    3939  StdSize iendSource = ibeginSource + niSource - 1; 
    4040 
     
    7373{ 
    7474  StdSize niMask = axisDest_->mask.numElements(); 
    75   StdSize iBeginMask = axisDest_->ibegin.getValue(); 
     75  StdSize iBeginMask = axisDest_->begin.getValue(); 
    7676  StdSize globalIndexMask = 0; 
    7777  std::map<int, std::vector<int> >& transMap = this->transformationMapping_; 
Note: See TracChangeset for help on using the changeset viewer.