Changeset 2022 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node/axis.cpp
- Timestamp:
- 01/22/21 18:46:08 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/axis.cpp
r1984 r2022 452 452 } 453 453 454 string CAxis::getCouplingAlias(const string& fieldId, int posInGrid) 455 { 456 return "_axis["+std::to_string(posInGrid)+"]_of_"+fieldId ; 457 } 458 454 459 void CAxis::makeAliasForCoupling(const string& fieldId, int posInGrid) 455 460 { 456 const string axisId = "_axis["+std::to_string(posInGrid)+"]_of_"+fieldId;461 const string axisId = getCouplingAlias(fieldId,posInGrid) ; 457 462 this->createAlias(axisId) ; 458 463 }
Note: See TracChangeset
for help on using the changeset viewer.