Changeset 2338 for XIOS/dev/dev_ym/XIOS_COUPLING/src/interface/fortran_attr/iinterpolate_axis_attr.F90
- Timestamp:
- 06/28/22 11:44:19 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/interface/fortran_attr/iinterpolate_axis_attr.F90
r966 r2338 12 12 13 13 SUBROUTINE xios(set_interpolate_axis_attr) & 14 ( interpolate_axis_id, coordinate, order, type ) 14 ( interpolate_axis_id, coordinate, coordinate_dst, coordinate_src, extrapolate, order, type & 15 ) 15 16 16 17 IMPLICIT NONE … … 18 19 CHARACTER(LEN=*), INTENT(IN) ::interpolate_axis_id 19 20 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: coordinate 21 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: coordinate_dst 22 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: coordinate_src 23 LOGICAL , OPTIONAL, INTENT(IN) :: extrapolate 24 LOGICAL (KIND=C_BOOL) :: extrapolate_tmp 20 25 INTEGER , OPTIONAL, INTENT(IN) :: order 21 26 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type … … 24 29 (interpolate_axis_id,interpolate_axis_hdl) 25 30 CALL xios(set_interpolate_axis_attr_hdl_) & 26 ( interpolate_axis_hdl, coordinate, order, type ) 31 ( interpolate_axis_hdl, coordinate, coordinate_dst, coordinate_src, extrapolate, order, type & 32 ) 27 33 28 34 END SUBROUTINE xios(set_interpolate_axis_attr) 29 35 30 36 SUBROUTINE xios(set_interpolate_axis_attr_hdl) & 31 ( interpolate_axis_hdl, coordinate, order, type ) 37 ( interpolate_axis_hdl, coordinate, coordinate_dst, coordinate_src, extrapolate, order, type & 38 ) 32 39 33 40 IMPLICIT NONE 34 41 TYPE(txios(interpolate_axis)) , INTENT(IN) :: interpolate_axis_hdl 35 42 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: coordinate 43 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: coordinate_dst 44 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: coordinate_src 45 LOGICAL , OPTIONAL, INTENT(IN) :: extrapolate 46 LOGICAL (KIND=C_BOOL) :: extrapolate_tmp 36 47 INTEGER , OPTIONAL, INTENT(IN) :: order 37 48 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 38 49 39 50 CALL xios(set_interpolate_axis_attr_hdl_) & 40 ( interpolate_axis_hdl, coordinate, order, type ) 51 ( interpolate_axis_hdl, coordinate, coordinate_dst, coordinate_src, extrapolate, order, type & 52 ) 41 53 42 54 END SUBROUTINE xios(set_interpolate_axis_attr_hdl) 43 55 44 56 SUBROUTINE xios(set_interpolate_axis_attr_hdl_) & 45 ( interpolate_axis_hdl, coordinate_, order_, type_ ) 57 ( interpolate_axis_hdl, coordinate_, coordinate_dst_, coordinate_src_, extrapolate_, order_ & 58 , type_ ) 46 59 47 60 IMPLICIT NONE 48 61 TYPE(txios(interpolate_axis)) , INTENT(IN) :: interpolate_axis_hdl 49 62 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: coordinate_ 63 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: coordinate_dst_ 64 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: coordinate_src_ 65 LOGICAL , OPTIONAL, INTENT(IN) :: extrapolate_ 66 LOGICAL (KIND=C_BOOL) :: extrapolate__tmp 50 67 INTEGER , OPTIONAL, INTENT(IN) :: order_ 51 68 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type_ … … 56 73 ENDIF 57 74 75 IF (PRESENT(coordinate_dst_)) THEN 76 CALL cxios_set_interpolate_axis_coordinate_dst & 77 (interpolate_axis_hdl%daddr, coordinate_dst_, len(coordinate_dst_)) 78 ENDIF 79 80 IF (PRESENT(coordinate_src_)) THEN 81 CALL cxios_set_interpolate_axis_coordinate_src & 82 (interpolate_axis_hdl%daddr, coordinate_src_, len(coordinate_src_)) 83 ENDIF 84 85 IF (PRESENT(extrapolate_)) THEN 86 extrapolate__tmp = extrapolate_ 87 CALL cxios_set_interpolate_axis_extrapolate & 88 (interpolate_axis_hdl%daddr, extrapolate__tmp) 89 ENDIF 90 58 91 IF (PRESENT(order_)) THEN 59 92 CALL cxios_set_interpolate_axis_order & … … 69 102 70 103 SUBROUTINE xios(get_interpolate_axis_attr) & 71 ( interpolate_axis_id, coordinate, order, type ) 104 ( interpolate_axis_id, coordinate, coordinate_dst, coordinate_src, extrapolate, order, type & 105 ) 72 106 73 107 IMPLICIT NONE … … 75 109 CHARACTER(LEN=*), INTENT(IN) ::interpolate_axis_id 76 110 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: coordinate 111 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: coordinate_dst 112 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: coordinate_src 113 LOGICAL , OPTIONAL, INTENT(OUT) :: extrapolate 114 LOGICAL (KIND=C_BOOL) :: extrapolate_tmp 77 115 INTEGER , OPTIONAL, INTENT(OUT) :: order 78 116 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type … … 81 119 (interpolate_axis_id,interpolate_axis_hdl) 82 120 CALL xios(get_interpolate_axis_attr_hdl_) & 83 ( interpolate_axis_hdl, coordinate, order, type ) 121 ( interpolate_axis_hdl, coordinate, coordinate_dst, coordinate_src, extrapolate, order, type & 122 ) 84 123 85 124 END SUBROUTINE xios(get_interpolate_axis_attr) 86 125 87 126 SUBROUTINE xios(get_interpolate_axis_attr_hdl) & 88 ( interpolate_axis_hdl, coordinate, order, type ) 127 ( interpolate_axis_hdl, coordinate, coordinate_dst, coordinate_src, extrapolate, order, type & 128 ) 89 129 90 130 IMPLICIT NONE 91 131 TYPE(txios(interpolate_axis)) , INTENT(IN) :: interpolate_axis_hdl 92 132 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: coordinate 133 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: coordinate_dst 134 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: coordinate_src 135 LOGICAL , OPTIONAL, INTENT(OUT) :: extrapolate 136 LOGICAL (KIND=C_BOOL) :: extrapolate_tmp 93 137 INTEGER , OPTIONAL, INTENT(OUT) :: order 94 138 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 95 139 96 140 CALL xios(get_interpolate_axis_attr_hdl_) & 97 ( interpolate_axis_hdl, coordinate, order, type ) 141 ( interpolate_axis_hdl, coordinate, coordinate_dst, coordinate_src, extrapolate, order, type & 142 ) 98 143 99 144 END SUBROUTINE xios(get_interpolate_axis_attr_hdl) 100 145 101 146 SUBROUTINE xios(get_interpolate_axis_attr_hdl_) & 102 ( interpolate_axis_hdl, coordinate_, order_, type_ ) 147 ( interpolate_axis_hdl, coordinate_, coordinate_dst_, coordinate_src_, extrapolate_, order_ & 148 , type_ ) 103 149 104 150 IMPLICIT NONE 105 151 TYPE(txios(interpolate_axis)) , INTENT(IN) :: interpolate_axis_hdl 106 152 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: coordinate_ 153 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: coordinate_dst_ 154 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: coordinate_src_ 155 LOGICAL , OPTIONAL, INTENT(OUT) :: extrapolate_ 156 LOGICAL (KIND=C_BOOL) :: extrapolate__tmp 107 157 INTEGER , OPTIONAL, INTENT(OUT) :: order_ 108 158 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type_ … … 113 163 ENDIF 114 164 165 IF (PRESENT(coordinate_dst_)) THEN 166 CALL cxios_get_interpolate_axis_coordinate_dst & 167 (interpolate_axis_hdl%daddr, coordinate_dst_, len(coordinate_dst_)) 168 ENDIF 169 170 IF (PRESENT(coordinate_src_)) THEN 171 CALL cxios_get_interpolate_axis_coordinate_src & 172 (interpolate_axis_hdl%daddr, coordinate_src_, len(coordinate_src_)) 173 ENDIF 174 175 IF (PRESENT(extrapolate_)) THEN 176 CALL cxios_get_interpolate_axis_extrapolate & 177 (interpolate_axis_hdl%daddr, extrapolate__tmp) 178 extrapolate_ = extrapolate__tmp 179 ENDIF 180 115 181 IF (PRESENT(order_)) THEN 116 182 CALL cxios_get_interpolate_axis_order & … … 126 192 127 193 SUBROUTINE xios(is_defined_interpolate_axis_attr) & 128 ( interpolate_axis_id, coordinate, order, type ) 194 ( interpolate_axis_id, coordinate, coordinate_dst, coordinate_src, extrapolate, order, type & 195 ) 129 196 130 197 IMPLICIT NONE … … 133 200 LOGICAL, OPTIONAL, INTENT(OUT) :: coordinate 134 201 LOGICAL(KIND=C_BOOL) :: coordinate_tmp 202 LOGICAL, OPTIONAL, INTENT(OUT) :: coordinate_dst 203 LOGICAL(KIND=C_BOOL) :: coordinate_dst_tmp 204 LOGICAL, OPTIONAL, INTENT(OUT) :: coordinate_src 205 LOGICAL(KIND=C_BOOL) :: coordinate_src_tmp 206 LOGICAL, OPTIONAL, INTENT(OUT) :: extrapolate 207 LOGICAL(KIND=C_BOOL) :: extrapolate_tmp 135 208 LOGICAL, OPTIONAL, INTENT(OUT) :: order 136 209 LOGICAL(KIND=C_BOOL) :: order_tmp … … 141 214 (interpolate_axis_id,interpolate_axis_hdl) 142 215 CALL xios(is_defined_interpolate_axis_attr_hdl_) & 143 ( interpolate_axis_hdl, coordinate, order, type ) 216 ( interpolate_axis_hdl, coordinate, coordinate_dst, coordinate_src, extrapolate, order, type & 217 ) 144 218 145 219 END SUBROUTINE xios(is_defined_interpolate_axis_attr) 146 220 147 221 SUBROUTINE xios(is_defined_interpolate_axis_attr_hdl) & 148 ( interpolate_axis_hdl, coordinate, order, type ) 222 ( interpolate_axis_hdl, coordinate, coordinate_dst, coordinate_src, extrapolate, order, type & 223 ) 149 224 150 225 IMPLICIT NONE … … 152 227 LOGICAL, OPTIONAL, INTENT(OUT) :: coordinate 153 228 LOGICAL(KIND=C_BOOL) :: coordinate_tmp 229 LOGICAL, OPTIONAL, INTENT(OUT) :: coordinate_dst 230 LOGICAL(KIND=C_BOOL) :: coordinate_dst_tmp 231 LOGICAL, OPTIONAL, INTENT(OUT) :: coordinate_src 232 LOGICAL(KIND=C_BOOL) :: coordinate_src_tmp 233 LOGICAL, OPTIONAL, INTENT(OUT) :: extrapolate 234 LOGICAL(KIND=C_BOOL) :: extrapolate_tmp 154 235 LOGICAL, OPTIONAL, INTENT(OUT) :: order 155 236 LOGICAL(KIND=C_BOOL) :: order_tmp … … 158 239 159 240 CALL xios(is_defined_interpolate_axis_attr_hdl_) & 160 ( interpolate_axis_hdl, coordinate, order, type ) 241 ( interpolate_axis_hdl, coordinate, coordinate_dst, coordinate_src, extrapolate, order, type & 242 ) 161 243 162 244 END SUBROUTINE xios(is_defined_interpolate_axis_attr_hdl) 163 245 164 246 SUBROUTINE xios(is_defined_interpolate_axis_attr_hdl_) & 165 ( interpolate_axis_hdl, coordinate_, order_, type_ ) 247 ( interpolate_axis_hdl, coordinate_, coordinate_dst_, coordinate_src_, extrapolate_, order_ & 248 , type_ ) 166 249 167 250 IMPLICIT NONE … … 169 252 LOGICAL, OPTIONAL, INTENT(OUT) :: coordinate_ 170 253 LOGICAL(KIND=C_BOOL) :: coordinate__tmp 254 LOGICAL, OPTIONAL, INTENT(OUT) :: coordinate_dst_ 255 LOGICAL(KIND=C_BOOL) :: coordinate_dst__tmp 256 LOGICAL, OPTIONAL, INTENT(OUT) :: coordinate_src_ 257 LOGICAL(KIND=C_BOOL) :: coordinate_src__tmp 258 LOGICAL, OPTIONAL, INTENT(OUT) :: extrapolate_ 259 LOGICAL(KIND=C_BOOL) :: extrapolate__tmp 171 260 LOGICAL, OPTIONAL, INTENT(OUT) :: order_ 172 261 LOGICAL(KIND=C_BOOL) :: order__tmp … … 180 269 ENDIF 181 270 271 IF (PRESENT(coordinate_dst_)) THEN 272 coordinate_dst__tmp = cxios_is_defined_interpolate_axis_coordinate_dst & 273 (interpolate_axis_hdl%daddr) 274 coordinate_dst_ = coordinate_dst__tmp 275 ENDIF 276 277 IF (PRESENT(coordinate_src_)) THEN 278 coordinate_src__tmp = cxios_is_defined_interpolate_axis_coordinate_src & 279 (interpolate_axis_hdl%daddr) 280 coordinate_src_ = coordinate_src__tmp 281 ENDIF 282 283 IF (PRESENT(extrapolate_)) THEN 284 extrapolate__tmp = cxios_is_defined_interpolate_axis_extrapolate & 285 (interpolate_axis_hdl%daddr) 286 extrapolate_ = extrapolate__tmp 287 ENDIF 288 182 289 IF (PRESENT(order_)) THEN 183 290 order__tmp = cxios_is_defined_interpolate_axis_order &
Note: See TracChangeset
for help on using the changeset viewer.