Ignore:
Timestamp:
03/15/22 19:00:58 (2 years ago)
Author:
ymipsl
Message:

Add possibility to refer to a grid using the field which is attached to, using notation : "fieldId::"

YM

File:
1 edited

Legend:

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

    r2270 r2311  
    142142         static CGrid* createGrid(const std::vector<CDomain*>& domains, const std::vector<CAxis*>& axis, 
    143143                                  const std::vector<CScalar*>& scalars, const CArray<int,1>& axisDomainOrder); 
     144         static CGrid* get(const string& id, bool noError=false) ; //<! return grid pointer using id 
     145         static bool has(const string& id) ; //<! return if grid exist using id 
    144146         static StdString generateId(const std::vector<CDomain*>& domains, const std::vector<CAxis*>& axis, 
    145147                                     const std::vector<CScalar*>& scalars, const CArray<int,1>& axisDomainOrder = CArray<int,1>()); 
Note: See TracChangeset for help on using the changeset viewer.