Changeset 2137 for XIOS/dev/dev_trunk_graph/src/node/domain.cpp
- Timestamp:
- 05/30/21 23:30:01 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_graph/src/node/domain.cpp
r2027 r2137 805 805 nj = 1; 806 806 jbegin = 0; 807 if (!i_index.isEmpty()) ni = i_index.numElements(); 808 j_index.resize(ni); 809 for(int i=0;i<ni;++i) j_index(i)=0; 810 811 if (!area.isEmpty()) 812 area.transposeSelf(1, 0); 807 if (!i_index.isEmpty()) 808 { 809 ni = i_index.numElements(); 810 j_index.resize(ni); 811 for(int i=0;i<ni;++i) j_index(i)=0; 812 } 813 814 815 if (!area.isEmpty()) area.transposeSelf(1, 0); // => to be checked why is it transposed 813 816 } 814 817 … … 1780 1783 } 1781 1784 1785 1782 1786 string CDomain::getCouplingAlias(const string& fieldId, int posInGrid) 1783 1787 { … … 1808 1812 void CDomain::makeAliasForCoupling(const string& fieldId, int posInGrid) 1809 1813 { 1810 1814 const string domainId = getCouplingAlias(fieldId, posInGrid); 1811 1815 this->createAlias(domainId) ; 1812 1816 }
Note: See TracChangeset
for help on using the changeset viewer.