- Timestamp:
- 09/22/15 14:01:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/branchs/xios-1.0/src/interface/fortran_attr/ifilegroup_attr.F90
r608 r703 13 13 SUBROUTINE xios(set_filegroup_attr) & 14 14 ( filegroup_id, compression_level, description, enabled, group_ref, min_digits, name, name_suffix & 15 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 15 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 16 , type ) 16 17 17 18 IMPLICIT NONE … … 32 33 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 33 34 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: sync_freq 35 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: time_counter 34 36 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 35 37 … … 37 39 CALL xios(set_filegroup_attr_hdl_) & 38 40 ( filegroup_hdl, compression_level, description, enabled, group_ref, min_digits, name, name_suffix & 39 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 41 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 42 , type ) 40 43 41 44 END SUBROUTINE xios(set_filegroup_attr) … … 43 46 SUBROUTINE xios(set_filegroup_attr_hdl) & 44 47 ( filegroup_hdl, compression_level, description, enabled, group_ref, min_digits, name, name_suffix & 45 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 48 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 49 , type ) 46 50 47 51 IMPLICIT NONE … … 61 65 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 62 66 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: sync_freq 67 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: time_counter 63 68 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 64 69 65 70 CALL xios(set_filegroup_attr_hdl_) & 66 71 ( filegroup_hdl, compression_level, description, enabled, group_ref, min_digits, name, name_suffix & 67 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 72 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 73 , type ) 68 74 69 75 END SUBROUTINE xios(set_filegroup_attr_hdl) … … 72 78 ( filegroup_hdl, compression_level_, description_, enabled_, group_ref_, min_digits_, name_ & 73 79 , name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_ & 74 , t ype_ )80 , time_counter_, type_ ) 75 81 76 82 IMPLICIT NONE … … 90 96 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format_ 91 97 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: sync_freq_ 98 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: time_counter_ 92 99 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type_ 93 100 … … 145 152 ENDIF 146 153 154 IF (PRESENT(time_counter_)) THEN 155 CALL cxios_set_filegroup_time_counter(filegroup_hdl%daddr, time_counter_, len(time_counter_)) 156 ENDIF 157 147 158 IF (PRESENT(type_)) THEN 148 159 CALL cxios_set_filegroup_type(filegroup_hdl%daddr, type_, len(type_)) … … 155 166 SUBROUTINE xios(get_filegroup_attr) & 156 167 ( filegroup_id, compression_level, description, enabled, group_ref, min_digits, name, name_suffix & 157 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 168 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 169 , type ) 158 170 159 171 IMPLICIT NONE … … 174 186 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 175 187 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: sync_freq 188 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: time_counter 176 189 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 177 190 … … 179 192 CALL xios(get_filegroup_attr_hdl_) & 180 193 ( filegroup_hdl, compression_level, description, enabled, group_ref, min_digits, name, name_suffix & 181 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 194 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 195 , type ) 182 196 183 197 END SUBROUTINE xios(get_filegroup_attr) … … 185 199 SUBROUTINE xios(get_filegroup_attr_hdl) & 186 200 ( filegroup_hdl, compression_level, description, enabled, group_ref, min_digits, name, name_suffix & 187 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 201 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 202 , type ) 188 203 189 204 IMPLICIT NONE … … 203 218 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 204 219 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: sync_freq 220 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: time_counter 205 221 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 206 222 207 223 CALL xios(get_filegroup_attr_hdl_) & 208 224 ( filegroup_hdl, compression_level, description, enabled, group_ref, min_digits, name, name_suffix & 209 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 225 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 226 , type ) 210 227 211 228 END SUBROUTINE xios(get_filegroup_attr_hdl) … … 214 231 ( filegroup_hdl, compression_level_, description_, enabled_, group_ref_, min_digits_, name_ & 215 232 , name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_ & 216 , t ype_ )233 , time_counter_, type_ ) 217 234 218 235 IMPLICIT NONE … … 232 249 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format_ 233 250 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: sync_freq_ 251 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: time_counter_ 234 252 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type_ 235 253 … … 287 305 ENDIF 288 306 307 IF (PRESENT(time_counter_)) THEN 308 CALL cxios_get_filegroup_time_counter(filegroup_hdl%daddr, time_counter_, len(time_counter_)) 309 ENDIF 310 289 311 IF (PRESENT(type_)) THEN 290 312 CALL cxios_get_filegroup_type(filegroup_hdl%daddr, type_, len(type_)) … … 297 319 SUBROUTINE xios(is_defined_filegroup_attr) & 298 320 ( filegroup_id, compression_level, description, enabled, group_ref, min_digits, name, name_suffix & 299 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 321 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 322 , type ) 300 323 301 324 IMPLICIT NONE … … 328 351 LOGICAL, OPTIONAL, INTENT(OUT) :: sync_freq 329 352 LOGICAL(KIND=C_BOOL) :: sync_freq_tmp 353 LOGICAL, OPTIONAL, INTENT(OUT) :: time_counter 354 LOGICAL(KIND=C_BOOL) :: time_counter_tmp 330 355 LOGICAL, OPTIONAL, INTENT(OUT) :: type 331 356 LOGICAL(KIND=C_BOOL) :: type_tmp … … 334 359 CALL xios(is_defined_filegroup_attr_hdl_) & 335 360 ( filegroup_hdl, compression_level, description, enabled, group_ref, min_digits, name, name_suffix & 336 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 361 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 362 , type ) 337 363 338 364 END SUBROUTINE xios(is_defined_filegroup_attr) … … 340 366 SUBROUTINE xios(is_defined_filegroup_attr_hdl) & 341 367 ( filegroup_hdl, compression_level, description, enabled, group_ref, min_digits, name, name_suffix & 342 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 368 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 369 , type ) 343 370 344 371 IMPLICIT NONE … … 370 397 LOGICAL, OPTIONAL, INTENT(OUT) :: sync_freq 371 398 LOGICAL(KIND=C_BOOL) :: sync_freq_tmp 399 LOGICAL, OPTIONAL, INTENT(OUT) :: time_counter 400 LOGICAL(KIND=C_BOOL) :: time_counter_tmp 372 401 LOGICAL, OPTIONAL, INTENT(OUT) :: type 373 402 LOGICAL(KIND=C_BOOL) :: type_tmp … … 375 404 CALL xios(is_defined_filegroup_attr_hdl_) & 376 405 ( filegroup_hdl, compression_level, description, enabled, group_ref, min_digits, name, name_suffix & 377 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 406 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 407 , type ) 378 408 379 409 END SUBROUTINE xios(is_defined_filegroup_attr_hdl) … … 382 412 ( filegroup_hdl, compression_level_, description_, enabled_, group_ref_, min_digits_, name_ & 383 413 , name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_ & 384 , t ype_ )414 , time_counter_, type_ ) 385 415 386 416 IMPLICIT NONE … … 412 442 LOGICAL, OPTIONAL, INTENT(OUT) :: sync_freq_ 413 443 LOGICAL(KIND=C_BOOL) :: sync_freq__tmp 444 LOGICAL, OPTIONAL, INTENT(OUT) :: time_counter_ 445 LOGICAL(KIND=C_BOOL) :: time_counter__tmp 414 446 LOGICAL, OPTIONAL, INTENT(OUT) :: type_ 415 447 LOGICAL(KIND=C_BOOL) :: type__tmp … … 480 512 ENDIF 481 513 514 IF (PRESENT(time_counter_)) THEN 515 time_counter__tmp=cxios_is_defined_filegroup_time_counter(filegroup_hdl%daddr) 516 time_counter_=time_counter__tmp 517 ENDIF 518 482 519 IF (PRESENT(type_)) THEN 483 520 type__tmp=cxios_is_defined_filegroup_type(filegroup_hdl%daddr)
Note: See TracChangeset
for help on using the changeset viewer.