Changeset 1204 for XIOS/dev/dev_olga/src
- Timestamp:
- 07/10/17 17:28:00 (7 years ago)
- Location:
- XIOS/dev/dev_olga/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/node/reduce_domain_to_axis.cpp
r980 r1204 62 62 << "Domain source " <<domainSrc->getId() << std::endl 63 63 << "Axis destination " << axisDst->getId()); 64 65 if (this->direction.isEmpty())66 ERROR("CReduceDomainToAxis::checkValid(CAxis* axisDst, CDomain* domainSrc)",67 << "A direction to apply the operation must be defined. It should be: 'iDir' or 'jDir'"68 << "Domain source " <<domainSrc->getId() << std::endl69 << "Axis destination " << axisDst->getId());70 71 64 72 65 switch (direction) -
XIOS/dev/dev_olga/src/transformation/axis_algorithm_reduce_domain.cpp
r1158 r1204 102 102 CArray<int,1>& axisDstIndex = axisDest_->index; 103 103 int ni_glo = domainSrc_->ni_glo, nj_glo = domainSrc_->nj_glo; 104 if ( jDir == dir_)104 if (iDir == dir_) 105 105 { 106 106 int nbAxisIdx = axisDstIndex.numElements(); … … 117 117 } 118 118 } 119 else if ( iDir == dir_)119 else if (jDir == dir_) 120 120 { 121 121 int nbAxisIdx = axisDstIndex.numElements();
Note: See TracChangeset
for help on using the changeset viewer.