Changeset 2022 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node/domain.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/domain.cpp
r1984 r2022 1781 1781 1782 1782 1783 string CDomain::getCouplingAlias(const string& fieldId, int posInGrid) 1784 { 1785 return "_domain["+std::to_string(posInGrid)+"]_of_"+fieldId ; 1786 } 1783 1787 1784 1788 /* to be removed later when coupling will be reimplemented, just to not forget */ … … 1788 1792 else sendDomainToFileServer_done_.insert(client) ; 1789 1793 1790 const string domainId = "_domain["+std::to_string(posInGrid)+"]_of_"+fieldId;1794 const string domainId = getCouplingAlias(fieldId, posInGrid) ; 1791 1795 1792 1796 if (!domain_ref.isEmpty()) … … 1805 1809 void CDomain::makeAliasForCoupling(const string& fieldId, int posInGrid) 1806 1810 { 1807 const string domainId = "_domain["+std::to_string(posInGrid)+"]_of_"+fieldId;1811 const string domainId = getCouplingAlias(fieldId, posInGrid); 1808 1812 this->createAlias(domainId) ; 1809 1813 }
Note: See TracChangeset
for help on using the changeset viewer.