Changeset 598 for XIOS/trunk/src/interface/fortran_attr/ifilegroup_attr.F90
- Timestamp:
- 05/26/15 16:13:47 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/fortran_attr/ifilegroup_attr.F90
r581 r598 12 12 13 13 SUBROUTINE xios(set_filegroup_attr) & 14 ( filegroup_id, append, description, enabled, format, group_ref, min_digits, name, name_suffix &14 ( filegroup_id, append, description, enabled, format, group_ref, min_digits, mode, name, name_suffix & 15 15 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 16 16 … … 26 26 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: group_ref 27 27 INTEGER , OPTIONAL, INTENT(IN) :: min_digits 28 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: mode 28 29 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name 29 30 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_suffix … … 38 39 CALL xios(get_filegroup_handle)(filegroup_id,filegroup_hdl) 39 40 CALL xios(set_filegroup_attr_hdl_) & 40 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, name, name_suffix &41 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, mode, name, name_suffix & 41 42 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 42 43 … … 44 45 45 46 SUBROUTINE xios(set_filegroup_attr_hdl) & 46 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, name, name_suffix &47 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, mode, name, name_suffix & 47 48 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 48 49 … … 57 58 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: group_ref 58 59 INTEGER , OPTIONAL, INTENT(IN) :: min_digits 60 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: mode 59 61 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name 60 62 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_suffix … … 68 70 69 71 CALL xios(set_filegroup_attr_hdl_) & 70 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, name, name_suffix &72 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, mode, name, name_suffix & 71 73 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 72 74 … … 74 76 75 77 SUBROUTINE xios(set_filegroup_attr_hdl_) & 76 ( filegroup_hdl, append_, description_, enabled_, format_, group_ref_, min_digits_, name_, name_suffix_ &77 , output_freq_, output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_, type_ &78 )78 ( filegroup_hdl, append_, description_, enabled_, format_, group_ref_, min_digits_, mode_, name_ & 79 , name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_ & 80 , type_ ) 79 81 80 82 IMPLICIT NONE … … 88 90 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: group_ref_ 89 91 INTEGER , OPTIONAL, INTENT(IN) :: min_digits_ 92 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: mode_ 90 93 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_ 91 94 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_suffix_ … … 124 127 ENDIF 125 128 129 IF (PRESENT(mode_)) THEN 130 CALL cxios_set_filegroup_mode(filegroup_hdl%daddr, mode_, len(mode_)) 131 ENDIF 132 126 133 IF (PRESENT(name_)) THEN 127 134 CALL cxios_set_filegroup_name(filegroup_hdl%daddr, name_, len(name_)) … … 163 170 164 171 SUBROUTINE xios(get_filegroup_attr) & 165 ( filegroup_id, append, description, enabled, format, group_ref, min_digits, name, name_suffix &172 ( filegroup_id, append, description, enabled, format, group_ref, min_digits, mode, name, name_suffix & 166 173 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 167 174 … … 177 184 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: group_ref 178 185 INTEGER , OPTIONAL, INTENT(OUT) :: min_digits 186 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: mode 179 187 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name 180 188 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_suffix … … 189 197 CALL xios(get_filegroup_handle)(filegroup_id,filegroup_hdl) 190 198 CALL xios(get_filegroup_attr_hdl_) & 191 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, name, name_suffix &199 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, mode, name, name_suffix & 192 200 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 193 201 … … 195 203 196 204 SUBROUTINE xios(get_filegroup_attr_hdl) & 197 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, name, name_suffix &205 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, mode, name, name_suffix & 198 206 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 199 207 … … 208 216 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: group_ref 209 217 INTEGER , OPTIONAL, INTENT(OUT) :: min_digits 218 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: mode 210 219 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name 211 220 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_suffix … … 219 228 220 229 CALL xios(get_filegroup_attr_hdl_) & 221 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, name, name_suffix &230 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, mode, name, name_suffix & 222 231 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 223 232 … … 225 234 226 235 SUBROUTINE xios(get_filegroup_attr_hdl_) & 227 ( filegroup_hdl, append_, description_, enabled_, format_, group_ref_, min_digits_, name_, name_suffix_ &228 , output_freq_, output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_, type_ &229 )236 ( filegroup_hdl, append_, description_, enabled_, format_, group_ref_, min_digits_, mode_, name_ & 237 , name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_ & 238 , type_ ) 230 239 231 240 IMPLICIT NONE … … 239 248 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: group_ref_ 240 249 INTEGER , OPTIONAL, INTENT(OUT) :: min_digits_ 250 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: mode_ 241 251 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_ 242 252 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_suffix_ … … 275 285 ENDIF 276 286 287 IF (PRESENT(mode_)) THEN 288 CALL cxios_get_filegroup_mode(filegroup_hdl%daddr, mode_, len(mode_)) 289 ENDIF 290 277 291 IF (PRESENT(name_)) THEN 278 292 CALL cxios_get_filegroup_name(filegroup_hdl%daddr, name_, len(name_)) … … 314 328 315 329 SUBROUTINE xios(is_defined_filegroup_attr) & 316 ( filegroup_id, append, description, enabled, format, group_ref, min_digits, name, name_suffix &330 ( filegroup_id, append, description, enabled, format, group_ref, min_digits, mode, name, name_suffix & 317 331 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 318 332 … … 332 346 LOGICAL, OPTIONAL, INTENT(OUT) :: min_digits 333 347 LOGICAL(KIND=C_BOOL) :: min_digits_tmp 348 LOGICAL, OPTIONAL, INTENT(OUT) :: mode 349 LOGICAL(KIND=C_BOOL) :: mode_tmp 334 350 LOGICAL, OPTIONAL, INTENT(OUT) :: name 335 351 LOGICAL(KIND=C_BOOL) :: name_tmp … … 353 369 CALL xios(get_filegroup_handle)(filegroup_id,filegroup_hdl) 354 370 CALL xios(is_defined_filegroup_attr_hdl_) & 355 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, name, name_suffix &371 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, mode, name, name_suffix & 356 372 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 357 373 … … 359 375 360 376 SUBROUTINE xios(is_defined_filegroup_attr_hdl) & 361 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, name, name_suffix &377 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, mode, name, name_suffix & 362 378 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 363 379 … … 376 392 LOGICAL, OPTIONAL, INTENT(OUT) :: min_digits 377 393 LOGICAL(KIND=C_BOOL) :: min_digits_tmp 394 LOGICAL, OPTIONAL, INTENT(OUT) :: mode 395 LOGICAL(KIND=C_BOOL) :: mode_tmp 378 396 LOGICAL, OPTIONAL, INTENT(OUT) :: name 379 397 LOGICAL(KIND=C_BOOL) :: name_tmp … … 396 414 397 415 CALL xios(is_defined_filegroup_attr_hdl_) & 398 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, name, name_suffix &416 ( filegroup_hdl, append, description, enabled, format, group_ref, min_digits, mode, name, name_suffix & 399 417 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 400 418 … … 402 420 403 421 SUBROUTINE xios(is_defined_filegroup_attr_hdl_) & 404 ( filegroup_hdl, append_, description_, enabled_, format_, group_ref_, min_digits_, name_, name_suffix_ &405 , output_freq_, output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_, type_ &406 )422 ( filegroup_hdl, append_, description_, enabled_, format_, group_ref_, min_digits_, mode_, name_ & 423 , name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_ & 424 , type_ ) 407 425 408 426 IMPLICIT NONE … … 420 438 LOGICAL, OPTIONAL, INTENT(OUT) :: min_digits_ 421 439 LOGICAL(KIND=C_BOOL) :: min_digits__tmp 440 LOGICAL, OPTIONAL, INTENT(OUT) :: mode_ 441 LOGICAL(KIND=C_BOOL) :: mode__tmp 422 442 LOGICAL, OPTIONAL, INTENT(OUT) :: name_ 423 443 LOGICAL(KIND=C_BOOL) :: name__tmp … … 469 489 ENDIF 470 490 491 IF (PRESENT(mode_)) THEN 492 mode__tmp = cxios_is_defined_filegroup_mode(filegroup_hdl%daddr) 493 mode_ = mode__tmp 494 ENDIF 495 471 496 IF (PRESENT(name_)) THEN 472 497 name__tmp = cxios_is_defined_filegroup_name(filegroup_hdl%daddr)
Note: See TracChangeset
for help on using the changeset viewer.