Ignore:
Timestamp:
05/30/21 23:30:01 (3 years ago)
Author:
yushan
Message:

temporal commit for merging graph into XIOS_coupling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_graph/src/node/domain.cpp

    r2027 r2137  
    805805        nj = 1; 
    806806        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 
    813816     } 
    814817 
     
    17801783   } 
    17811784 
     1785 
    17821786  string CDomain::getCouplingAlias(const string& fieldId, int posInGrid) 
    17831787  { 
     
    18081812  void CDomain::makeAliasForCoupling(const string& fieldId, int posInGrid) 
    18091813  { 
    1810      const string domainId = getCouplingAlias(fieldId, posInGrid); 
     1814    const string domainId = getCouplingAlias(fieldId, posInGrid); 
    18111815    this->createAlias(domainId) ; 
    18121816  } 
Note: See TracChangeset for help on using the changeset viewer.