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_inverse.cpp

    r630 r666  
    1717 : CAxisAlgorithmTransformation(axisDestination, axisSource) 
    1818{ 
    19   if (axisDestination->size.getValue() != axisSource->size.getValue()) 
     19  if (axisDestination->n_glo.getValue() != axisSource->n_glo.getValue()) 
    2020  { 
    2121    ERROR("CAxisAlgorithmInverse::CAxisAlgorithmInverse(CAxis* axisDestination, CAxis* axisSource)", 
    22            << "Two axis have different size" 
    23            << "Size of axis source " <<axisSource->getId() << " is " << axisSource->size.getValue()  << std::endl 
    24            << "Size of axis destionation " <<axisDestination->getId() << " is " << axisDestination->size.getValue()); 
     22           << "Two axis have different global size" 
     23           << "Size of axis source " <<axisSource->getId() << " is " << axisSource->n_glo.getValue()  << std::endl 
     24           << "Size of axis destionation " <<axisDestination->getId() << " is " << axisDestination->n_glo.getValue()); 
    2525  } 
    2626 
    2727  this->computeIndexSourceMapping(); 
    28   int niSrc   = axisSrc_->ni.getValue(); 
    29   int sizeSrc = axisSrc_->size.getValue(); 
     28  int niSrc   = axisSrc_->n.getValue(); 
     29  int sizeSrc = axisSrc_->n_glo.getValue(); 
    3030  if (niSrc != sizeSrc) updateAxisValue(); 
    3131  else 
     
    6060  CContextClient* client=context->client; 
    6161 
    62   int niSrc     = axisSrc_->ni.getValue(); 
    63   int ibeginSrc = axisSrc_->ibegin.getValue(); 
     62  int niSrc     = axisSrc_->n.getValue(); 
     63  int ibeginSrc = axisSrc_->begin.getValue(); 
    6464 
    6565  CTransformationMapping transformationMap(axisDest_, axisSrc_); 
     
    128128 } 
    129129 
    130  int ibeginDest = axisDest_->ibegin.getValue(); 
     130 int ibeginDest = axisDest_->begin.getValue(); 
    131131 currentRecvBuff = recvBuff; 
    132132 for (itRecv = itbRecv; itRecv != iteRecv; ++itRecv) 
Note: See TracChangeset for help on using the changeset viewer.