source: XIOS/trunk/src/interface/fortran_attr/iinterpolate_axis_attr.F90 @ 786

Last change on this file since 786 was 786, checked in by mhnguyen, 8 years ago

Generating interface for transformations

+) Update Fortran interface for other transformations
+) Remove some redundant files
+) Update test to new interface

Test
+) On Curie
+) test_client and test_complete are correct

File size: 5.5 KB
Line 
1! * ************************************************************************** *
2! *               Interface auto generated - do not modify                     *
3! * ************************************************************************** *
4#include "xios_fortran_prefix.hpp"
5
6MODULE iinterpolate_axis_attr
7  USE, INTRINSIC :: ISO_C_BINDING
8  USE iinterpolate_axis
9  USE interpolate_axis_interface_attr
10
11CONTAINS
12
13  SUBROUTINE xios(set_interpolate_axis_attr)  &
14    ( interpolate_axis_id, order, type )
15
16    IMPLICIT NONE
17      TYPE(txios(interpolate_axis))  :: interpolate_axis_hdl
18      CHARACTER(LEN=*), INTENT(IN) ::interpolate_axis_id
19      INTEGER  , OPTIONAL, INTENT(IN) :: order
20      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type
21
22      CALL xios(get_interpolate_axis_handle)(interpolate_axis_id,interpolate_axis_hdl)
23      CALL xios(set_interpolate_axis_attr_hdl_)   &
24      ( interpolate_axis_hdl, order, type )
25
26  END SUBROUTINE xios(set_interpolate_axis_attr)
27
28  SUBROUTINE xios(set_interpolate_axis_attr_hdl)  &
29    ( interpolate_axis_hdl, order, type )
30
31    IMPLICIT NONE
32      TYPE(txios(interpolate_axis)) , INTENT(IN) :: interpolate_axis_hdl
33      INTEGER  , OPTIONAL, INTENT(IN) :: order
34      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type
35
36      CALL xios(set_interpolate_axis_attr_hdl_)  &
37      ( interpolate_axis_hdl, order, type )
38
39  END SUBROUTINE xios(set_interpolate_axis_attr_hdl)
40
41  SUBROUTINE xios(set_interpolate_axis_attr_hdl_)   &
42    ( interpolate_axis_hdl, order_, type_ )
43
44    IMPLICIT NONE
45      TYPE(txios(interpolate_axis)) , INTENT(IN) :: interpolate_axis_hdl
46      INTEGER  , OPTIONAL, INTENT(IN) :: order_
47      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type_
48
49      IF (PRESENT(order_)) THEN
50        CALL cxios_set_interpolate_axis_order(interpolate_axis_hdl%daddr, order_)
51      ENDIF
52
53      IF (PRESENT(type_)) THEN
54        CALL cxios_set_interpolate_axis_type(interpolate_axis_hdl%daddr, type_, len(type_))
55      ENDIF
56
57  END SUBROUTINE xios(set_interpolate_axis_attr_hdl_)
58
59  SUBROUTINE xios(get_interpolate_axis_attr)  &
60    ( interpolate_axis_id, order, type )
61
62    IMPLICIT NONE
63      TYPE(txios(interpolate_axis))  :: interpolate_axis_hdl
64      CHARACTER(LEN=*), INTENT(IN) ::interpolate_axis_id
65      INTEGER  , OPTIONAL, INTENT(OUT) :: order
66      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type
67
68      CALL xios(get_interpolate_axis_handle)(interpolate_axis_id,interpolate_axis_hdl)
69      CALL xios(get_interpolate_axis_attr_hdl_)   &
70      ( interpolate_axis_hdl, order, type )
71
72  END SUBROUTINE xios(get_interpolate_axis_attr)
73
74  SUBROUTINE xios(get_interpolate_axis_attr_hdl)  &
75    ( interpolate_axis_hdl, order, type )
76
77    IMPLICIT NONE
78      TYPE(txios(interpolate_axis)) , INTENT(IN) :: interpolate_axis_hdl
79      INTEGER  , OPTIONAL, INTENT(OUT) :: order
80      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type
81
82      CALL xios(get_interpolate_axis_attr_hdl_)  &
83      ( interpolate_axis_hdl, order, type )
84
85  END SUBROUTINE xios(get_interpolate_axis_attr_hdl)
86
87  SUBROUTINE xios(get_interpolate_axis_attr_hdl_)   &
88    ( interpolate_axis_hdl, order_, type_ )
89
90    IMPLICIT NONE
91      TYPE(txios(interpolate_axis)) , INTENT(IN) :: interpolate_axis_hdl
92      INTEGER  , OPTIONAL, INTENT(OUT) :: order_
93      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type_
94
95      IF (PRESENT(order_)) THEN
96        CALL cxios_get_interpolate_axis_order(interpolate_axis_hdl%daddr, order_)
97      ENDIF
98
99      IF (PRESENT(type_)) THEN
100        CALL cxios_get_interpolate_axis_type(interpolate_axis_hdl%daddr, type_, len(type_))
101      ENDIF
102
103  END SUBROUTINE xios(get_interpolate_axis_attr_hdl_)
104
105  SUBROUTINE xios(is_defined_interpolate_axis_attr)  &
106    ( interpolate_axis_id, order, type )
107
108    IMPLICIT NONE
109      TYPE(txios(interpolate_axis))  :: interpolate_axis_hdl
110      CHARACTER(LEN=*), INTENT(IN) ::interpolate_axis_id
111      LOGICAL, OPTIONAL, INTENT(OUT) :: order
112      LOGICAL(KIND=C_BOOL) :: order_tmp
113      LOGICAL, OPTIONAL, INTENT(OUT) :: type
114      LOGICAL(KIND=C_BOOL) :: type_tmp
115
116      CALL xios(get_interpolate_axis_handle)(interpolate_axis_id,interpolate_axis_hdl)
117      CALL xios(is_defined_interpolate_axis_attr_hdl_)   &
118      ( interpolate_axis_hdl, order, type )
119
120  END SUBROUTINE xios(is_defined_interpolate_axis_attr)
121
122  SUBROUTINE xios(is_defined_interpolate_axis_attr_hdl)  &
123    ( interpolate_axis_hdl, order, type )
124
125    IMPLICIT NONE
126      TYPE(txios(interpolate_axis)) , INTENT(IN) :: interpolate_axis_hdl
127      LOGICAL, OPTIONAL, INTENT(OUT) :: order
128      LOGICAL(KIND=C_BOOL) :: order_tmp
129      LOGICAL, OPTIONAL, INTENT(OUT) :: type
130      LOGICAL(KIND=C_BOOL) :: type_tmp
131
132      CALL xios(is_defined_interpolate_axis_attr_hdl_)  &
133      ( interpolate_axis_hdl, order, type )
134
135  END SUBROUTINE xios(is_defined_interpolate_axis_attr_hdl)
136
137  SUBROUTINE xios(is_defined_interpolate_axis_attr_hdl_)   &
138    ( interpolate_axis_hdl, order_, type_ )
139
140    IMPLICIT NONE
141      TYPE(txios(interpolate_axis)) , INTENT(IN) :: interpolate_axis_hdl
142      LOGICAL, OPTIONAL, INTENT(OUT) :: order_
143      LOGICAL(KIND=C_BOOL) :: order__tmp
144      LOGICAL, OPTIONAL, INTENT(OUT) :: type_
145      LOGICAL(KIND=C_BOOL) :: type__tmp
146
147      IF (PRESENT(order_)) THEN
148        order__tmp = cxios_is_defined_interpolate_axis_order(interpolate_axis_hdl%daddr)
149        order_ = order__tmp
150      ENDIF
151
152      IF (PRESENT(type_)) THEN
153        type__tmp = cxios_is_defined_interpolate_axis_type(interpolate_axis_hdl%daddr)
154        type_ = type__tmp
155      ENDIF
156
157  END SUBROUTINE xios(is_defined_interpolate_axis_attr_hdl_)
158
159END MODULE iinterpolate_axis_attr
Note: See TracBrowser for help on using the repository browser.