Changeset 2117 for XIOS/dev/dev_ym
- Timestamp:
- 03/26/21 10:00:29 (3 years ago)
- Location:
- XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/axis_algorithm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/axis_algorithm/axis_algorithm_extract_domain.cpp
r1999 r2117 51 51 TRY 52 52 { 53 axisDestination->checkAttributes() ; 53 54 algo->checkValid(axisDestination, domainSource); 54 55 StdString op = "extract"; -
XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/axis_algorithm/axis_algorithm_inverse.cpp
r1999 r2117 52 52 TRY 53 53 { 54 axisDestination->checkAttributes() ; 54 55 if (axisDestination->n_glo.getValue() != axisSource->n_glo.getValue()) 55 56 { … … 62 63 auto& transMap = this->transformationMapping_; 63 64 64 int globalIndexSize = axisDestination-> index.size();65 for (int idx = 0; idx < globalIndexSize; ++idx)65 int globalIndexSize = axisDestination->n_glo.getValue(); 66 for (int idx = 0; idx < axisDestination->index.numElements(); ++idx) 66 67 { 67 68 transMap[axisDestination->index(idx)] = globalIndexSize-axisDestination->index(idx)-1;
Note: See TracChangeset
for help on using the changeset viewer.