source: XIOS3/trunk/src/interface/fortran_attr/iextract_domain_to_axis_attr.F90 @ 2620

Last change on this file since 2620 was 2620, checked in by jderouillat, 4 months ago

Modify fortran-C interfaces to manage logical-bool conversion, the optimizations of OneAPI could produce bugs regarding the logical-bool encodings.

File size: 6.4 KB
Line 
1! * ************************************************************************** *
2! *               Interface auto generated - do not modify                     *
3! * ************************************************************************** *
4#include "xios_fortran_prefix.hpp"
5
6MODULE iextract_domain_to_axis_attr
7  USE, INTRINSIC :: ISO_C_BINDING
8  USE iextract_domain_to_axis
9  USE extract_domain_to_axis_interface_attr
10  USE LOGICAL_BOOL_CONVERSION
11
12CONTAINS
13
14  SUBROUTINE xios(set_extract_domain_to_axis_attr)  &
15    ( extract_domain_to_axis_id, direction, position )
16
17    IMPLICIT NONE
18      TYPE(txios(extract_domain_to_axis))  :: extract_domain_to_axis_hdl
19      CHARACTER(LEN=*), INTENT(IN) ::extract_domain_to_axis_id
20      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: direction
21      INTEGER  , OPTIONAL, INTENT(IN) :: position
22
23      CALL xios(get_extract_domain_to_axis_handle) &
24      (extract_domain_to_axis_id,extract_domain_to_axis_hdl)
25      CALL xios(set_extract_domain_to_axis_attr_hdl_)   &
26      ( extract_domain_to_axis_hdl, direction, position )
27
28  END SUBROUTINE xios(set_extract_domain_to_axis_attr)
29
30  SUBROUTINE xios(set_extract_domain_to_axis_attr_hdl)  &
31    ( extract_domain_to_axis_hdl, direction, position )
32
33    IMPLICIT NONE
34      TYPE(txios(extract_domain_to_axis)) , INTENT(IN) :: extract_domain_to_axis_hdl
35      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: direction
36      INTEGER  , OPTIONAL, INTENT(IN) :: position
37
38      CALL xios(set_extract_domain_to_axis_attr_hdl_)  &
39      ( extract_domain_to_axis_hdl, direction, position )
40
41  END SUBROUTINE xios(set_extract_domain_to_axis_attr_hdl)
42
43  SUBROUTINE xios(set_extract_domain_to_axis_attr_hdl_)   &
44    ( extract_domain_to_axis_hdl, direction_, position_ )
45
46    IMPLICIT NONE
47      TYPE(txios(extract_domain_to_axis)) , INTENT(IN) :: extract_domain_to_axis_hdl
48      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: direction_
49      INTEGER  , OPTIONAL, INTENT(IN) :: position_
50
51      IF (PRESENT(direction_)) THEN
52        CALL cxios_set_extract_domain_to_axis_direction &
53      (extract_domain_to_axis_hdl%daddr, direction_, len(direction_))
54      ENDIF
55
56      IF (PRESENT(position_)) THEN
57        CALL cxios_set_extract_domain_to_axis_position &
58      (extract_domain_to_axis_hdl%daddr, position_)
59      ENDIF
60
61  END SUBROUTINE xios(set_extract_domain_to_axis_attr_hdl_)
62
63  SUBROUTINE xios(get_extract_domain_to_axis_attr)  &
64    ( extract_domain_to_axis_id, direction, position )
65
66    IMPLICIT NONE
67      TYPE(txios(extract_domain_to_axis))  :: extract_domain_to_axis_hdl
68      CHARACTER(LEN=*), INTENT(IN) ::extract_domain_to_axis_id
69      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: direction
70      INTEGER  , OPTIONAL, INTENT(OUT) :: position
71
72      CALL xios(get_extract_domain_to_axis_handle) &
73      (extract_domain_to_axis_id,extract_domain_to_axis_hdl)
74      CALL xios(get_extract_domain_to_axis_attr_hdl_)   &
75      ( extract_domain_to_axis_hdl, direction, position )
76
77  END SUBROUTINE xios(get_extract_domain_to_axis_attr)
78
79  SUBROUTINE xios(get_extract_domain_to_axis_attr_hdl)  &
80    ( extract_domain_to_axis_hdl, direction, position )
81
82    IMPLICIT NONE
83      TYPE(txios(extract_domain_to_axis)) , INTENT(IN) :: extract_domain_to_axis_hdl
84      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: direction
85      INTEGER  , OPTIONAL, INTENT(OUT) :: position
86
87      CALL xios(get_extract_domain_to_axis_attr_hdl_)  &
88      ( extract_domain_to_axis_hdl, direction, position )
89
90  END SUBROUTINE xios(get_extract_domain_to_axis_attr_hdl)
91
92  SUBROUTINE xios(get_extract_domain_to_axis_attr_hdl_)   &
93    ( extract_domain_to_axis_hdl, direction_, position_ )
94
95    IMPLICIT NONE
96      TYPE(txios(extract_domain_to_axis)) , INTENT(IN) :: extract_domain_to_axis_hdl
97      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: direction_
98      INTEGER  , OPTIONAL, INTENT(OUT) :: position_
99
100      IF (PRESENT(direction_)) THEN
101        CALL cxios_get_extract_domain_to_axis_direction &
102      (extract_domain_to_axis_hdl%daddr, direction_, len(direction_))
103      ENDIF
104
105      IF (PRESENT(position_)) THEN
106        CALL cxios_get_extract_domain_to_axis_position &
107      (extract_domain_to_axis_hdl%daddr, position_)
108      ENDIF
109
110  END SUBROUTINE xios(get_extract_domain_to_axis_attr_hdl_)
111
112  SUBROUTINE xios(is_defined_extract_domain_to_axis_attr)  &
113    ( extract_domain_to_axis_id, direction, position )
114
115    IMPLICIT NONE
116      TYPE(txios(extract_domain_to_axis))  :: extract_domain_to_axis_hdl
117      CHARACTER(LEN=*), INTENT(IN) ::extract_domain_to_axis_id
118      LOGICAL, OPTIONAL, INTENT(OUT) :: direction
119      LOGICAL(KIND=C_BOOL) :: direction_tmp
120      LOGICAL, OPTIONAL, INTENT(OUT) :: position
121      LOGICAL(KIND=C_BOOL) :: position_tmp
122
123      CALL xios(get_extract_domain_to_axis_handle) &
124      (extract_domain_to_axis_id,extract_domain_to_axis_hdl)
125      CALL xios(is_defined_extract_domain_to_axis_attr_hdl_)   &
126      ( extract_domain_to_axis_hdl, direction, position )
127
128  END SUBROUTINE xios(is_defined_extract_domain_to_axis_attr)
129
130  SUBROUTINE xios(is_defined_extract_domain_to_axis_attr_hdl)  &
131    ( extract_domain_to_axis_hdl, direction, position )
132
133    IMPLICIT NONE
134      TYPE(txios(extract_domain_to_axis)) , INTENT(IN) :: extract_domain_to_axis_hdl
135      LOGICAL, OPTIONAL, INTENT(OUT) :: direction
136      LOGICAL(KIND=C_BOOL) :: direction_tmp
137      LOGICAL, OPTIONAL, INTENT(OUT) :: position
138      LOGICAL(KIND=C_BOOL) :: position_tmp
139
140      CALL xios(is_defined_extract_domain_to_axis_attr_hdl_)  &
141      ( extract_domain_to_axis_hdl, direction, position )
142
143  END SUBROUTINE xios(is_defined_extract_domain_to_axis_attr_hdl)
144
145  SUBROUTINE xios(is_defined_extract_domain_to_axis_attr_hdl_)   &
146    ( extract_domain_to_axis_hdl, direction_, position_ )
147
148    IMPLICIT NONE
149      TYPE(txios(extract_domain_to_axis)) , INTENT(IN) :: extract_domain_to_axis_hdl
150      LOGICAL, OPTIONAL, INTENT(OUT) :: direction_
151      LOGICAL(KIND=C_BOOL) :: direction__tmp
152      LOGICAL, OPTIONAL, INTENT(OUT) :: position_
153      LOGICAL(KIND=C_BOOL) :: position__tmp
154
155      IF (PRESENT(direction_)) THEN
156        direction__tmp = cxios_is_defined_extract_domain_to_axis_direction &
157      (extract_domain_to_axis_hdl%daddr)
158        direction_ = direction__tmp
159      ENDIF
160
161      IF (PRESENT(position_)) THEN
162        position__tmp = cxios_is_defined_extract_domain_to_axis_position &
163      (extract_domain_to_axis_hdl%daddr)
164        position_ = position__tmp
165      ENDIF
166
167  END SUBROUTINE xios(is_defined_extract_domain_to_axis_attr_hdl_)
168
169END MODULE iextract_domain_to_axis_attr
Note: See TracBrowser for help on using the repository browser.