Ignore:
Timestamp:
05/29/24 19:23:08 (5 weeks ago)
Author:
ymipsl
Message:
  • Recheck grid/domain/axis/scalar after reading grid from file, otherwise some attributes are not taking into account.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/node/grid.cpp

    r2507 r2632  
    19741974  \brief check attributes of all elements of the grid 
    19751975  */ 
    1976   void CGrid::checkElementsAttributes(void) 
     1976  void CGrid::checkElementsAttributes(bool recheck) 
    19771977  TRY 
    19781978  { 
    19791979    setDomainList(); 
    1980     for (auto domainId : domList_) CDomain::get(domainId)->checkAttributes(); 
     1980    for (auto domainId : domList_) CDomain::get(domainId)->checkAttributes(recheck); 
    19811981 
    19821982    setAxisList(); 
    1983     for (auto axisId : axisList_) CAxis::get(axisId)->checkAttributes(); 
     1983    for (auto axisId : axisList_) CAxis::get(axisId)->checkAttributes(recheck); 
    19841984     
    19851985    setScalarList(); 
    1986     for (auto scalarId : scalarList_) CScalar::get(scalarId)->checkAttributes(); 
     1986    for (auto scalarId : scalarList_) CScalar::get(scalarId)->checkAttributes(recheck); 
    19871987  } 
    19881988  CATCH_DUMP_ATTR 
Note: See TracChangeset for help on using the changeset viewer.