Ignore:
Timestamp:
06/28/22 11:44:19 (2 years ago)
Author:
jderouillat
Message:

Added extract_domain interface. Updated all interfaces, normalize some private attributes names of domain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/interface/c_attr/icscalargroup_attr.cpp

    r1941 r2338  
    221221 
    222222 
     223  void cxios_set_scalargroup_n(scalargroup_Ptr scalargroup_hdl, int n) 
     224  { 
     225    CTimer::get("XIOS").resume(); 
     226    scalargroup_hdl->n.setValue(n); 
     227    CTimer::get("XIOS").suspend(); 
     228  } 
     229 
     230  void cxios_get_scalargroup_n(scalargroup_Ptr scalargroup_hdl, int* n) 
     231  { 
     232    CTimer::get("XIOS").resume(); 
     233    *n = scalargroup_hdl->n.getInheritedValue(); 
     234    CTimer::get("XIOS").suspend(); 
     235  } 
     236 
     237  bool cxios_is_defined_scalargroup_n(scalargroup_Ptr scalargroup_hdl) 
     238  { 
     239     CTimer::get("XIOS").resume(); 
     240     bool isDefined = scalargroup_hdl->n.hasInheritedValue(); 
     241     CTimer::get("XIOS").suspend(); 
     242     return isDefined; 
     243  } 
     244 
     245 
    223246  void cxios_set_scalargroup_name(scalargroup_Ptr scalargroup_hdl, const char * name, int name_size) 
    224247  { 
Note: See TracChangeset for help on using the changeset viewer.