- Timestamp:
- 04/24/18 18:03:18 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/interface/c_attr/icreduce_domain_to_scalar_attr.cpp
r981 r1492 17 17 { 18 18 typedef xios::CReduceDomainToScalar* reduce_domain_to_scalar_Ptr; 19 20 void cxios_set_reduce_domain_to_scalar_local(reduce_domain_to_scalar_Ptr reduce_domain_to_scalar_hdl, bool local) 21 { 22 CTimer::get("XIOS").resume(); 23 reduce_domain_to_scalar_hdl->local.setValue(local); 24 CTimer::get("XIOS").suspend(); 25 } 26 27 void cxios_get_reduce_domain_to_scalar_local(reduce_domain_to_scalar_Ptr reduce_domain_to_scalar_hdl, bool* local) 28 { 29 CTimer::get("XIOS").resume(); 30 *local = reduce_domain_to_scalar_hdl->local.getInheritedValue(); 31 CTimer::get("XIOS").suspend(); 32 } 33 34 bool cxios_is_defined_reduce_domain_to_scalar_local(reduce_domain_to_scalar_Ptr reduce_domain_to_scalar_hdl) 35 { 36 CTimer::get("XIOS").resume(); 37 bool isDefined = reduce_domain_to_scalar_hdl->local.hasInheritedValue(); 38 CTimer::get("XIOS").suspend(); 39 return isDefined; 40 } 41 19 42 20 43 void cxios_set_reduce_domain_to_scalar_operation(reduce_domain_to_scalar_Ptr reduce_domain_to_scalar_hdl, const char * operation, int operation_size)
Note: See TracChangeset
for help on using the changeset viewer.