- Timestamp:
- 02/01/22 15:28:48 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/reduce_domain_to_axis.cpp
r2270 r2291 48 48 << "Axis destination " << axisDst->getId()); 49 49 50 int axis_n_glo = axisDst->n_glo;51 int domain_ni_glo = domainSrc->ni_glo;52 int domain_nj_glo = domainSrc->nj_glo;53 54 50 if (this->operation.isEmpty()) 55 51 ERROR("CReduceDomainToAxis::checkValid(CAxis* axisDst, CDomain* domainSrc)", … … 65 61 if (this->local.isEmpty()) local=false ; 66 62 67 switch (direction)68 {69 case direction_attr::jDir:70 if (axis_n_glo != domain_ni_glo)71 ERROR("CReduceDomainToAxis::checkValid(CAxis* axisDst, CDomain* domainSrc)",72 << "Extract domain along j, axis destination should have n_glo equal to ni_glo of domain source"73 << "Domain source " <<domainSrc->getId() << " has nj_glo " << domain_ni_glo << std::endl74 << "Axis destination " << axisDst->getId() << " has n_glo " << axis_n_glo);75 break;76 77 case direction_attr::iDir:78 if (axis_n_glo != domain_nj_glo)79 ERROR("CReduceDomainToAxis::checkValid(CAxis* axisDst, CDomain* domainSrc)",80 << "Extract domain along i, axis destination should have n_glo equal to nj_glo of domain source"81 << "Domain source " <<domainSrc->getId() << " has nj_glo " << domain_nj_glo << std::endl82 << "Axis destination " << axisDst->getId() << " has n_glo " << axis_n_glo);83 break;84 85 default:86 break;87 }88 63 } 89 64
Note: See TracChangeset
for help on using the changeset viewer.