Changeset 2616 for XIOS3/trunk/src/interface/c_attr/icaxis_attr.cpp
- Timestamp:
- 03/19/24 14:23:16 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/interface/c_attr/icaxis_attr.cpp
r1626 r2616 143 143 144 144 145 void cxios_set_axis_chunking_weight(axis_Ptr axis_hdl, double chunking_weight) 146 { 147 CTimer::get("XIOS").resume(); 148 axis_hdl->chunking_weight.setValue(chunking_weight); 149 CTimer::get("XIOS").suspend(); 150 } 151 152 void cxios_get_axis_chunking_weight(axis_Ptr axis_hdl, double* chunking_weight) 153 { 154 CTimer::get("XIOS").resume(); 155 *chunking_weight = axis_hdl->chunking_weight.getInheritedValue(); 156 CTimer::get("XIOS").suspend(); 157 } 158 159 bool cxios_is_defined_axis_chunking_weight(axis_Ptr axis_hdl) 160 { 161 CTimer::get("XIOS").resume(); 162 bool isDefined = axis_hdl->chunking_weight.hasInheritedValue(); 163 CTimer::get("XIOS").suspend(); 164 return isDefined; 165 } 166 167 145 168 void cxios_set_axis_comment(axis_Ptr axis_hdl, const char * comment, int comment_size) 146 169 {
Note: See TracChangeset
for help on using the changeset viewer.