Changeset 2128


Ignore:
Timestamp:
04/08/21 09:44:59 (5 months ago)
Author:
ymipsl
Message:

Fix problem in chaining transformation. in case of reading grid in file, attribute are checked and ni, nj, i_index, j_index are automatically generated. After that, when using generated_rectilinear_domain, the element is not distributed properly.
So remove the check_attribute solve the problem, but it can possibly have strong side effect in other case. To be checked carefully...

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/node/grid.cpp

    r2022 r2128  
    17101710        else if (srcElement.type==TYPE_AXIS)   tmpGridSrc->addAxis(srcElement.axis->getId()) ; 
    17111711        else if (srcElement.type==TYPE_SCALAR) tmpGridSrc->addScalar(srcElement.scalar->getId()) ; 
    1712         tmpGridSrc->checkElementsAttributes() ; 
     1712        // WARNING -> suppress checkElement attribute ? What append ? 
     1713        // tmpGridSrc->checkElementsAttributes() ; 
    17131714        CGrid* tmpGridDst=CGrid::create(); // destination Grid 
    17141715        map<int,int> posInGrid={{0,0}} ; 
Note: See TracChangeset for help on using the changeset viewer.