source: XIOS/trunk/src/interface/c_attr/iczoom_domain_attr.cpp @ 2338

Last change on this file since 2338 was 1626, checked in by oabramkina, 6 years ago

Trunk: limiting the line length to 132 characters in the Fortran interface + updating the interface.

File size: 3.1 KB
RevLine 
[784]1/* ************************************************************************** *
2 *               Interface auto generated - do not modify                     *
3 * ************************************************************************** */
4
5#include <boost/multi_array.hpp>
6#include "xios.hpp"
7#include "attribute_template.hpp"
8#include "object_template.hpp"
9#include "group_template.hpp"
10#include "icutil.hpp"
11#include "icdate.hpp"
12#include "timer.hpp"
13#include "node_type.hpp"
14
15extern "C"
16{
17  typedef xios::CZoomDomain* zoom_domain_Ptr;
18
[787]19  void cxios_set_zoom_domain_ibegin(zoom_domain_Ptr zoom_domain_hdl, int ibegin)
[784]20  {
21    CTimer::get("XIOS").resume();
[787]22    zoom_domain_hdl->ibegin.setValue(ibegin);
[784]23    CTimer::get("XIOS").suspend();
24  }
25
[787]26  void cxios_get_zoom_domain_ibegin(zoom_domain_Ptr zoom_domain_hdl, int* ibegin)
[784]27  {
28    CTimer::get("XIOS").resume();
[787]29    *ibegin = zoom_domain_hdl->ibegin.getInheritedValue();
[784]30    CTimer::get("XIOS").suspend();
31  }
32
[787]33  bool cxios_is_defined_zoom_domain_ibegin(zoom_domain_Ptr zoom_domain_hdl)
[784]34  {
35     CTimer::get("XIOS").resume();
[787]36     bool isDefined = zoom_domain_hdl->ibegin.hasInheritedValue();
[784]37     CTimer::get("XIOS").suspend();
38     return isDefined;
39  }
40
41
[787]42  void cxios_set_zoom_domain_jbegin(zoom_domain_Ptr zoom_domain_hdl, int jbegin)
[784]43  {
44    CTimer::get("XIOS").resume();
[787]45    zoom_domain_hdl->jbegin.setValue(jbegin);
[784]46    CTimer::get("XIOS").suspend();
47  }
48
[787]49  void cxios_get_zoom_domain_jbegin(zoom_domain_Ptr zoom_domain_hdl, int* jbegin)
[784]50  {
51    CTimer::get("XIOS").resume();
[787]52    *jbegin = zoom_domain_hdl->jbegin.getInheritedValue();
[784]53    CTimer::get("XIOS").suspend();
54  }
55
[787]56  bool cxios_is_defined_zoom_domain_jbegin(zoom_domain_Ptr zoom_domain_hdl)
[784]57  {
58     CTimer::get("XIOS").resume();
[787]59     bool isDefined = zoom_domain_hdl->jbegin.hasInheritedValue();
[784]60     CTimer::get("XIOS").suspend();
61     return isDefined;
62  }
63
64
[787]65  void cxios_set_zoom_domain_ni(zoom_domain_Ptr zoom_domain_hdl, int ni)
[784]66  {
67    CTimer::get("XIOS").resume();
[787]68    zoom_domain_hdl->ni.setValue(ni);
[784]69    CTimer::get("XIOS").suspend();
70  }
71
[787]72  void cxios_get_zoom_domain_ni(zoom_domain_Ptr zoom_domain_hdl, int* ni)
[784]73  {
74    CTimer::get("XIOS").resume();
[787]75    *ni = zoom_domain_hdl->ni.getInheritedValue();
[784]76    CTimer::get("XIOS").suspend();
77  }
78
[787]79  bool cxios_is_defined_zoom_domain_ni(zoom_domain_Ptr zoom_domain_hdl)
[784]80  {
81     CTimer::get("XIOS").resume();
[787]82     bool isDefined = zoom_domain_hdl->ni.hasInheritedValue();
[784]83     CTimer::get("XIOS").suspend();
84     return isDefined;
85  }
86
87
[787]88  void cxios_set_zoom_domain_nj(zoom_domain_Ptr zoom_domain_hdl, int nj)
[784]89  {
90    CTimer::get("XIOS").resume();
[787]91    zoom_domain_hdl->nj.setValue(nj);
[784]92    CTimer::get("XIOS").suspend();
93  }
94
[787]95  void cxios_get_zoom_domain_nj(zoom_domain_Ptr zoom_domain_hdl, int* nj)
[784]96  {
97    CTimer::get("XIOS").resume();
[787]98    *nj = zoom_domain_hdl->nj.getInheritedValue();
[784]99    CTimer::get("XIOS").suspend();
100  }
101
[787]102  bool cxios_is_defined_zoom_domain_nj(zoom_domain_Ptr zoom_domain_hdl)
[784]103  {
104     CTimer::get("XIOS").resume();
[787]105     bool isDefined = zoom_domain_hdl->nj.hasInheritedValue();
[784]106     CTimer::get("XIOS").suspend();
107     return isDefined;
108  }
109}
Note: See TracBrowser for help on using the repository browser.