Changeset 609 for XIOS/trunk/src/interface/c_attr/icaxisgroup_attr.cpp
- Timestamp:
- 06/05/15 16:42:18 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/c_attr/icaxisgroup_attr.cpp
r591 r609 44 44 45 45 46 void cxios_set_axisgroup_bounds(axisgroup_Ptr axisgroup_hdl, double* bounds, int extent1, int extent2) 47 { 48 CTimer::get("XIOS").resume(); 49 CArray<double,2> tmp(bounds, shape(extent1, extent2), neverDeleteData); 50 axisgroup_hdl->bounds.reference(tmp.copy()); 51 CTimer::get("XIOS").suspend(); 52 } 53 54 void cxios_get_axisgroup_bounds(axisgroup_Ptr axisgroup_hdl, double* bounds, int extent1, int extent2) 55 { 56 CTimer::get("XIOS").resume(); 57 CArray<double,2> tmp(bounds, shape(extent1, extent2), neverDeleteData); 58 tmp=axisgroup_hdl->bounds.getInheritedValue(); 59 CTimer::get("XIOS").suspend(); 60 } 61 62 bool cxios_is_defined_axisgroup_bounds(axisgroup_Ptr axisgroup_hdl) 63 { 64 CTimer::get("XIOS").resume(); 65 bool isDefined = axisgroup_hdl->bounds.hasInheritedValue(); 66 CTimer::get("XIOS").suspend(); 67 return isDefined; 68 } 69 70 46 71 void cxios_set_axisgroup_data_begin(axisgroup_Ptr axisgroup_hdl, int data_begin) 47 72 {
Note: See TracChangeset
for help on using the changeset viewer.