- Timestamp:
- 06/28/22 11:44:19 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/interface/c_attr/icscalar_attr.cpp
r1941 r2338 195 195 196 196 197 void cxios_set_scalar_n(scalar_Ptr scalar_hdl, int n) 198 { 199 CTimer::get("XIOS").resume(); 200 scalar_hdl->n.setValue(n); 201 CTimer::get("XIOS").suspend(); 202 } 203 204 void cxios_get_scalar_n(scalar_Ptr scalar_hdl, int* n) 205 { 206 CTimer::get("XIOS").resume(); 207 *n = scalar_hdl->n.getInheritedValue(); 208 CTimer::get("XIOS").suspend(); 209 } 210 211 bool cxios_is_defined_scalar_n(scalar_Ptr scalar_hdl) 212 { 213 CTimer::get("XIOS").resume(); 214 bool isDefined = scalar_hdl->n.hasInheritedValue(); 215 CTimer::get("XIOS").suspend(); 216 return isDefined; 217 } 218 219 197 220 void cxios_set_scalar_name(scalar_Ptr scalar_hdl, const char * name, int name_size) 198 221 {
Note: See TracChangeset
for help on using the changeset viewer.