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

    r1626 r2338  
    1616{ 
    1717  typedef xios::CReduceAxisToScalar* reduce_axis_to_scalar_Ptr; 
     18 
     19  void cxios_set_reduce_axis_to_scalar_local(reduce_axis_to_scalar_Ptr reduce_axis_to_scalar_hdl, bool local) 
     20  { 
     21    CTimer::get("XIOS").resume(); 
     22    reduce_axis_to_scalar_hdl->local.setValue(local); 
     23    CTimer::get("XIOS").suspend(); 
     24  } 
     25 
     26  void cxios_get_reduce_axis_to_scalar_local(reduce_axis_to_scalar_Ptr reduce_axis_to_scalar_hdl, bool* local) 
     27  { 
     28    CTimer::get("XIOS").resume(); 
     29    *local = reduce_axis_to_scalar_hdl->local.getInheritedValue(); 
     30    CTimer::get("XIOS").suspend(); 
     31  } 
     32 
     33  bool cxios_is_defined_reduce_axis_to_scalar_local(reduce_axis_to_scalar_Ptr reduce_axis_to_scalar_hdl) 
     34  { 
     35     CTimer::get("XIOS").resume(); 
     36     bool isDefined = reduce_axis_to_scalar_hdl->local.hasInheritedValue(); 
     37     CTimer::get("XIOS").suspend(); 
     38     return isDefined; 
     39  } 
     40 
    1841 
    1942  void cxios_set_reduce_axis_to_scalar_operation(reduce_axis_to_scalar_Ptr reduce_axis_to_scalar_hdl, const char * operation, int operation_size) 
Note: See TracChangeset for help on using the changeset viewer.