Ignore:
Timestamp:
01/14/19 11:42:58 (5 years ago)
Author:
oabramkina
Message:

Backporting r1626 to dev before merging it to trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/interface/c_attr/icdomaingroup_attr.cpp

    r1542 r1636  
    44 
    55#include <boost/multi_array.hpp> 
    6 #include <memory> 
    76#include "xios.hpp" 
    87#include "attribute_template.hpp" 
     
    978977 
    979978 
     979  void cxios_set_domaingroup_radius(domaingroup_Ptr domaingroup_hdl, double radius) 
     980  { 
     981    CTimer::get("XIOS").resume(); 
     982    domaingroup_hdl->radius.setValue(radius); 
     983    CTimer::get("XIOS").suspend(); 
     984  } 
     985 
     986  void cxios_get_domaingroup_radius(domaingroup_Ptr domaingroup_hdl, double* radius) 
     987  { 
     988    CTimer::get("XIOS").resume(); 
     989    *radius = domaingroup_hdl->radius.getInheritedValue(); 
     990    CTimer::get("XIOS").suspend(); 
     991  } 
     992 
     993  bool cxios_is_defined_domaingroup_radius(domaingroup_Ptr domaingroup_hdl) 
     994  { 
     995     CTimer::get("XIOS").resume(); 
     996     bool isDefined = domaingroup_hdl->radius.hasInheritedValue(); 
     997     CTimer::get("XIOS").suspend(); 
     998     return isDefined; 
     999  } 
     1000 
     1001 
    9801002  void cxios_set_domaingroup_standard_name(domaingroup_Ptr domaingroup_hdl, const char * standard_name, int standard_name_size) 
    9811003  { 
Note: See TracChangeset for help on using the changeset viewer.