Last change
on this file since 1646 was
1646,
checked in by yushan, 5 years ago
|
branch merged with trunk @1645. arch file (ep&mpi) added for ADA
|
File size:
1.4 KB
|
Rev | Line | |
---|
[981] | 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 | |
---|
| 15 | extern "C" |
---|
| 16 | { |
---|
| 17 | typedef xios::CExtractAxisToScalar* extract_axis_to_scalar_Ptr; |
---|
| 18 | |
---|
| 19 | void cxios_set_extract_axis_to_scalar_position(extract_axis_to_scalar_Ptr extract_axis_to_scalar_hdl, int position) |
---|
| 20 | { |
---|
| 21 | CTimer::get("XIOS").resume(); |
---|
| 22 | extract_axis_to_scalar_hdl->position.setValue(position); |
---|
| 23 | CTimer::get("XIOS").suspend(); |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | void cxios_get_extract_axis_to_scalar_position(extract_axis_to_scalar_Ptr extract_axis_to_scalar_hdl, int* position) |
---|
| 27 | { |
---|
| 28 | CTimer::get("XIOS").resume(); |
---|
| 29 | *position = extract_axis_to_scalar_hdl->position.getInheritedValue(); |
---|
| 30 | CTimer::get("XIOS").suspend(); |
---|
| 31 | } |
---|
| 32 | |
---|
| 33 | bool cxios_is_defined_extract_axis_to_scalar_position(extract_axis_to_scalar_Ptr extract_axis_to_scalar_hdl) |
---|
| 34 | { |
---|
| 35 | CTimer::get("XIOS").resume(); |
---|
| 36 | bool isDefined = extract_axis_to_scalar_hdl->position.hasInheritedValue(); |
---|
| 37 | CTimer::get("XIOS").suspend(); |
---|
| 38 | return isDefined; |
---|
| 39 | } |
---|
| 40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.