Ignore:
Timestamp:
03/08/22 12:30:26 (2 years ago)
Author:
ymipsl
Message:

Fix bug when calling to "xios_solve_inheritance" that inhibit transformation chaining.

YM

File:
1 edited

Legend:

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

    r2304 r2305  
    18101810      CDomain* pDom = CDomain::get(domainId); 
    18111811      pDom->solveRefInheritance(apply); 
    1812       pDom->solveInheritanceTransformation(); 
     1812      if (apply) pDom->solveInheritanceTransformation(); 
    18131813    } 
    18141814 
     
    18181818      CAxis* pAxis = CAxis::get(axisId); 
    18191819      pAxis->solveRefInheritance(apply); 
    1820       pAxis->solveInheritanceTransformation(); 
     1820      if (apply) pAxis->solveInheritanceTransformation(); 
    18211821    } 
    18221822 
     
    18261826      CScalar* pScalar = CScalar::get(scalarId); 
    18271827      pScalar->solveRefInheritance(apply); 
    1828       pScalar->solveInheritanceTransformation(); 
     1828      if (apply) pScalar->solveInheritanceTransformation(); 
    18291829    } 
    18301830  } 
Note: See TracChangeset for help on using the changeset viewer.