Changeset 1636 for XIOS/dev/dev_olga/src/interface/c_attr/icdomain_attr.cpp
- Timestamp:
- 01/14/19 11:42:58 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/interface/c_attr/icdomain_attr.cpp
r1542 r1636 4 4 5 5 #include <boost/multi_array.hpp> 6 #include <memory>7 6 #include "xios.hpp" 8 7 #include "attribute_template.hpp" … … 952 951 953 952 953 void cxios_set_domain_radius(domain_Ptr domain_hdl, double radius) 954 { 955 CTimer::get("XIOS").resume(); 956 domain_hdl->radius.setValue(radius); 957 CTimer::get("XIOS").suspend(); 958 } 959 960 void cxios_get_domain_radius(domain_Ptr domain_hdl, double* radius) 961 { 962 CTimer::get("XIOS").resume(); 963 *radius = domain_hdl->radius.getInheritedValue(); 964 CTimer::get("XIOS").suspend(); 965 } 966 967 bool cxios_is_defined_domain_radius(domain_Ptr domain_hdl) 968 { 969 CTimer::get("XIOS").resume(); 970 bool isDefined = domain_hdl->radius.hasInheritedValue(); 971 CTimer::get("XIOS").suspend(); 972 return isDefined; 973 } 974 975 954 976 void cxios_set_domain_standard_name(domain_Ptr domain_hdl, const char * standard_name, int standard_name_size) 955 977 {
Note: See TracChangeset
for help on using the changeset viewer.