- Timestamp:
- 12/17/18 10:19:12 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/fortran_attr/iinterpolate_domain_attr.F90
r1492 r1626 13 13 SUBROUTINE xios(set_interpolate_domain_attr) & 14 14 ( interpolate_domain_id, detect_missing_value, mode, order, quantity, read_write_convention & 15 , renormalize, weight_filename, write_weight )15 , renormalize, use_area, weight_filename, write_weight ) 16 16 17 17 IMPLICIT NONE … … 27 27 LOGICAL , OPTIONAL, INTENT(IN) :: renormalize 28 28 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 29 LOGICAL , OPTIONAL, INTENT(IN) :: use_area 30 LOGICAL (KIND=C_BOOL) :: use_area_tmp 29 31 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: weight_filename 30 32 LOGICAL , OPTIONAL, INTENT(IN) :: write_weight … … 35 37 CALL xios(set_interpolate_domain_attr_hdl_) & 36 38 ( interpolate_domain_hdl, detect_missing_value, mode, order, quantity, read_write_convention & 37 , renormalize, weight_filename, write_weight )39 , renormalize, use_area, weight_filename, write_weight ) 38 40 39 41 END SUBROUTINE xios(set_interpolate_domain_attr) … … 41 43 SUBROUTINE xios(set_interpolate_domain_attr_hdl) & 42 44 ( interpolate_domain_hdl, detect_missing_value, mode, order, quantity, read_write_convention & 43 , renormalize, weight_filename, write_weight )45 , renormalize, use_area, weight_filename, write_weight ) 44 46 45 47 IMPLICIT NONE … … 54 56 LOGICAL , OPTIONAL, INTENT(IN) :: renormalize 55 57 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 58 LOGICAL , OPTIONAL, INTENT(IN) :: use_area 59 LOGICAL (KIND=C_BOOL) :: use_area_tmp 56 60 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: weight_filename 57 61 LOGICAL , OPTIONAL, INTENT(IN) :: write_weight … … 60 64 CALL xios(set_interpolate_domain_attr_hdl_) & 61 65 ( interpolate_domain_hdl, detect_missing_value, mode, order, quantity, read_write_convention & 62 , renormalize, weight_filename, write_weight )66 , renormalize, use_area, weight_filename, write_weight ) 63 67 64 68 END SUBROUTINE xios(set_interpolate_domain_attr_hdl) … … 66 70 SUBROUTINE xios(set_interpolate_domain_attr_hdl_) & 67 71 ( interpolate_domain_hdl, detect_missing_value_, mode_, order_, quantity_, read_write_convention_ & 68 , renormalize_, weight_filename_, write_weight_ )72 , renormalize_, use_area_, weight_filename_, write_weight_ ) 69 73 70 74 IMPLICIT NONE … … 79 83 LOGICAL , OPTIONAL, INTENT(IN) :: renormalize_ 80 84 LOGICAL (KIND=C_BOOL) :: renormalize__tmp 85 LOGICAL , OPTIONAL, INTENT(IN) :: use_area_ 86 LOGICAL (KIND=C_BOOL) :: use_area__tmp 81 87 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: weight_filename_ 82 88 LOGICAL , OPTIONAL, INTENT(IN) :: write_weight_ … … 116 122 ENDIF 117 123 124 IF (PRESENT(use_area_)) THEN 125 use_area__tmp = use_area_ 126 CALL cxios_set_interpolate_domain_use_area & 127 (interpolate_domain_hdl%daddr, use_area__tmp) 128 ENDIF 129 118 130 IF (PRESENT(weight_filename_)) THEN 119 131 CALL cxios_set_interpolate_domain_weight_filename & … … 131 143 SUBROUTINE xios(get_interpolate_domain_attr) & 132 144 ( interpolate_domain_id, detect_missing_value, mode, order, quantity, read_write_convention & 133 , renormalize, weight_filename, write_weight )145 , renormalize, use_area, weight_filename, write_weight ) 134 146 135 147 IMPLICIT NONE … … 145 157 LOGICAL , OPTIONAL, INTENT(OUT) :: renormalize 146 158 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 159 LOGICAL , OPTIONAL, INTENT(OUT) :: use_area 160 LOGICAL (KIND=C_BOOL) :: use_area_tmp 147 161 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: weight_filename 148 162 LOGICAL , OPTIONAL, INTENT(OUT) :: write_weight … … 153 167 CALL xios(get_interpolate_domain_attr_hdl_) & 154 168 ( interpolate_domain_hdl, detect_missing_value, mode, order, quantity, read_write_convention & 155 , renormalize, weight_filename, write_weight )169 , renormalize, use_area, weight_filename, write_weight ) 156 170 157 171 END SUBROUTINE xios(get_interpolate_domain_attr) … … 159 173 SUBROUTINE xios(get_interpolate_domain_attr_hdl) & 160 174 ( interpolate_domain_hdl, detect_missing_value, mode, order, quantity, read_write_convention & 161 , renormalize, weight_filename, write_weight )175 , renormalize, use_area, weight_filename, write_weight ) 162 176 163 177 IMPLICIT NONE … … 172 186 LOGICAL , OPTIONAL, INTENT(OUT) :: renormalize 173 187 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 188 LOGICAL , OPTIONAL, INTENT(OUT) :: use_area 189 LOGICAL (KIND=C_BOOL) :: use_area_tmp 174 190 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: weight_filename 175 191 LOGICAL , OPTIONAL, INTENT(OUT) :: write_weight … … 178 194 CALL xios(get_interpolate_domain_attr_hdl_) & 179 195 ( interpolate_domain_hdl, detect_missing_value, mode, order, quantity, read_write_convention & 180 , renormalize, weight_filename, write_weight )196 , renormalize, use_area, weight_filename, write_weight ) 181 197 182 198 END SUBROUTINE xios(get_interpolate_domain_attr_hdl) … … 184 200 SUBROUTINE xios(get_interpolate_domain_attr_hdl_) & 185 201 ( interpolate_domain_hdl, detect_missing_value_, mode_, order_, quantity_, read_write_convention_ & 186 , renormalize_, weight_filename_, write_weight_ )202 , renormalize_, use_area_, weight_filename_, write_weight_ ) 187 203 188 204 IMPLICIT NONE … … 197 213 LOGICAL , OPTIONAL, INTENT(OUT) :: renormalize_ 198 214 LOGICAL (KIND=C_BOOL) :: renormalize__tmp 215 LOGICAL , OPTIONAL, INTENT(OUT) :: use_area_ 216 LOGICAL (KIND=C_BOOL) :: use_area__tmp 199 217 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: weight_filename_ 200 218 LOGICAL , OPTIONAL, INTENT(OUT) :: write_weight_ … … 234 252 ENDIF 235 253 254 IF (PRESENT(use_area_)) THEN 255 CALL cxios_get_interpolate_domain_use_area & 256 (interpolate_domain_hdl%daddr, use_area__tmp) 257 use_area_ = use_area__tmp 258 ENDIF 259 236 260 IF (PRESENT(weight_filename_)) THEN 237 261 CALL cxios_get_interpolate_domain_weight_filename & … … 249 273 SUBROUTINE xios(is_defined_interpolate_domain_attr) & 250 274 ( interpolate_domain_id, detect_missing_value, mode, order, quantity, read_write_convention & 251 , renormalize, weight_filename, write_weight )275 , renormalize, use_area, weight_filename, write_weight ) 252 276 253 277 IMPLICIT NONE … … 266 290 LOGICAL, OPTIONAL, INTENT(OUT) :: renormalize 267 291 LOGICAL(KIND=C_BOOL) :: renormalize_tmp 292 LOGICAL, OPTIONAL, INTENT(OUT) :: use_area 293 LOGICAL(KIND=C_BOOL) :: use_area_tmp 268 294 LOGICAL, OPTIONAL, INTENT(OUT) :: weight_filename 269 295 LOGICAL(KIND=C_BOOL) :: weight_filename_tmp … … 275 301 CALL xios(is_defined_interpolate_domain_attr_hdl_) & 276 302 ( interpolate_domain_hdl, detect_missing_value, mode, order, quantity, read_write_convention & 277 , renormalize, weight_filename, write_weight )303 , renormalize, use_area, weight_filename, write_weight ) 278 304 279 305 END SUBROUTINE xios(is_defined_interpolate_domain_attr) … … 281 307 SUBROUTINE xios(is_defined_interpolate_domain_attr_hdl) & 282 308 ( interpolate_domain_hdl, detect_missing_value, mode, order, quantity, read_write_convention & 283 , renormalize, weight_filename, write_weight )309 , renormalize, use_area, weight_filename, write_weight ) 284 310 285 311 IMPLICIT NONE … … 297 323 LOGICAL, OPTIONAL, INTENT(OUT) :: renormalize 298 324 LOGICAL(KIND=C_BOOL) :: renormalize_tmp 325 LOGICAL, OPTIONAL, INTENT(OUT) :: use_area 326 LOGICAL(KIND=C_BOOL) :: use_area_tmp 299 327 LOGICAL, OPTIONAL, INTENT(OUT) :: weight_filename 300 328 LOGICAL(KIND=C_BOOL) :: weight_filename_tmp … … 304 332 CALL xios(is_defined_interpolate_domain_attr_hdl_) & 305 333 ( interpolate_domain_hdl, detect_missing_value, mode, order, quantity, read_write_convention & 306 , renormalize, weight_filename, write_weight )334 , renormalize, use_area, weight_filename, write_weight ) 307 335 308 336 END SUBROUTINE xios(is_defined_interpolate_domain_attr_hdl) … … 310 338 SUBROUTINE xios(is_defined_interpolate_domain_attr_hdl_) & 311 339 ( interpolate_domain_hdl, detect_missing_value_, mode_, order_, quantity_, read_write_convention_ & 312 , renormalize_, weight_filename_, write_weight_ )340 , renormalize_, use_area_, weight_filename_, write_weight_ ) 313 341 314 342 IMPLICIT NONE … … 326 354 LOGICAL, OPTIONAL, INTENT(OUT) :: renormalize_ 327 355 LOGICAL(KIND=C_BOOL) :: renormalize__tmp 356 LOGICAL, OPTIONAL, INTENT(OUT) :: use_area_ 357 LOGICAL(KIND=C_BOOL) :: use_area__tmp 328 358 LOGICAL, OPTIONAL, INTENT(OUT) :: weight_filename_ 329 359 LOGICAL(KIND=C_BOOL) :: weight_filename__tmp … … 367 397 ENDIF 368 398 399 IF (PRESENT(use_area_)) THEN 400 use_area__tmp = cxios_is_defined_interpolate_domain_use_area & 401 (interpolate_domain_hdl%daddr) 402 use_area_ = use_area__tmp 403 ENDIF 404 369 405 IF (PRESENT(weight_filename_)) THEN 370 406 weight_filename__tmp = cxios_is_defined_interpolate_domain_weight_filename &
Note: See TracChangeset
for help on using the changeset viewer.