Ignore:
Timestamp:
06/19/13 10:09:36 (11 years ago)
Author:
ymipsl
Message:

Add possibility to make inheritance of attributes and reference before closing the context definition.
New fortran fonction : xios_solve inheritance()
After this call, the value of attribute have the inherited value of their parent.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/context.hpp

    r382 r445  
    8787 
    8888         /// Traitements /// 
    89          virtual void solveDescInheritance(const CAttributeMap * const parent = 0); 
    90          void solveFieldRefInheritance(void); 
     89         virtual void solveDescInheritance(bool apply, const CAttributeMap * const parent = 0); 
     90         void solveFieldRefInheritance(bool apply); 
    9191         void solveCalendar(void); 
    9292 
     
    112112         void solveAllGridRef(void); 
    113113         void solveAllOperation(void); 
    114          void solveAllInheritance(void) ; 
     114         void solveAllInheritance(bool apply=true) ; 
    115115         void findEnabledFiles(void); 
    116116         void closeAllFile(void) ; 
Note: See TracChangeset for help on using the changeset viewer.