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/field.cpp

    r439 r445  
    327327   //---------------------------------------------------------------- 
    328328 
    329    void CField::solveRefInheritance(void) 
     329   void CField::solveRefInheritance(bool apply) 
    330330   { 
    331331      std::set<CField *> sset; 
     
    347347         } 
    348348 
    349          SuperClassAttribute::setAttributes(refer_ptr); 
     349         SuperClassAttribute::setAttributes(refer_ptr, apply); 
    350350         sset.insert(refer_ptr); 
    351351         baseRefObject = refer_sptr; 
Note: See TracChangeset for help on using the changeset viewer.