Changeset 699
- Timestamp:
- 09/22/15 10:09:53 (9 years ago)
- Location:
- XIOS/trunk/src/interface
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/c_attr/icfile_attr.cpp
r608 r699 429 429 430 430 431 void cxios_set_file_time_counter(file_Ptr file_hdl, const char * time_counter, int time_counter_size) 432 { 433 std::string time_counter_str; 434 if (!cstr2string(time_counter, time_counter_size, time_counter_str)) return; 435 CTimer::get("XIOS").resume(); 436 file_hdl->time_counter.fromString(time_counter_str); 437 CTimer::get("XIOS").suspend(); 438 } 439 440 void cxios_get_file_time_counter(file_Ptr file_hdl, char * time_counter, int time_counter_size) 441 { 442 CTimer::get("XIOS").resume(); 443 if (!string_copy(file_hdl->time_counter.getInheritedStringValue(), time_counter, time_counter_size)) 444 ERROR("void cxios_get_file_time_counter(file_Ptr file_hdl, char * time_counter, int time_counter_size)", << "Input string is too short"); 445 CTimer::get("XIOS").suspend(); 446 } 447 448 bool cxios_is_defined_file_time_counter(file_Ptr file_hdl) 449 { 450 CTimer::get("XIOS").resume(); 451 bool isDefined = file_hdl->time_counter.hasInheritedValue(); 452 CTimer::get("XIOS").suspend(); 453 return isDefined; 454 } 455 456 431 457 void cxios_set_file_type(file_Ptr file_hdl, const char * type, int type_size) 432 458 { -
XIOS/trunk/src/interface/c_attr/icfilegroup_attr.cpp
r608 r699 455 455 456 456 457 void cxios_set_filegroup_time_counter(filegroup_Ptr filegroup_hdl, const char * time_counter, int time_counter_size) 458 { 459 std::string time_counter_str; 460 if (!cstr2string(time_counter, time_counter_size, time_counter_str)) return; 461 CTimer::get("XIOS").resume(); 462 filegroup_hdl->time_counter.fromString(time_counter_str); 463 CTimer::get("XIOS").suspend(); 464 } 465 466 void cxios_get_filegroup_time_counter(filegroup_Ptr filegroup_hdl, char * time_counter, int time_counter_size) 467 { 468 CTimer::get("XIOS").resume(); 469 if (!string_copy(filegroup_hdl->time_counter.getInheritedStringValue(), time_counter, time_counter_size)) 470 ERROR("void cxios_get_filegroup_time_counter(filegroup_Ptr filegroup_hdl, char * time_counter, int time_counter_size)", << "Input string is too short"); 471 CTimer::get("XIOS").suspend(); 472 } 473 474 bool cxios_is_defined_filegroup_time_counter(filegroup_Ptr filegroup_hdl) 475 { 476 CTimer::get("XIOS").resume(); 477 bool isDefined = filegroup_hdl->time_counter.hasInheritedValue(); 478 CTimer::get("XIOS").suspend(); 479 return isDefined; 480 } 481 482 457 483 void cxios_set_filegroup_type(filegroup_Ptr filegroup_hdl, const char * type, int type_size) 458 484 { -
XIOS/trunk/src/interface/fortran_attr/file_interface_attr.F90
r608 r699 315 315 316 316 317 SUBROUTINE cxios_set_file_time_counter(file_hdl, time_counter, time_counter_size) BIND(C) 318 USE ISO_C_BINDING 319 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 320 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: time_counter 321 INTEGER (kind = C_INT) , VALUE :: time_counter_size 322 END SUBROUTINE cxios_set_file_time_counter 323 324 SUBROUTINE cxios_get_file_time_counter(file_hdl, time_counter, time_counter_size) BIND(C) 325 USE ISO_C_BINDING 326 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 327 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: time_counter 328 INTEGER (kind = C_INT) , VALUE :: time_counter_size 329 END SUBROUTINE cxios_get_file_time_counter 330 331 FUNCTION cxios_is_defined_file_time_counter(file_hdl) BIND(C) 332 USE ISO_C_BINDING 333 LOGICAL(kind=C_BOOL) :: cxios_is_defined_file_time_counter 334 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 335 END FUNCTION cxios_is_defined_file_time_counter 336 337 317 338 SUBROUTINE cxios_set_file_type(file_hdl, type, type_size) BIND(C) 318 339 USE ISO_C_BINDING -
XIOS/trunk/src/interface/fortran_attr/filegroup_interface_attr.F90
r608 r699 336 336 337 337 338 SUBROUTINE cxios_set_filegroup_time_counter(filegroup_hdl, time_counter, time_counter_size) BIND(C) 339 USE ISO_C_BINDING 340 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 341 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: time_counter 342 INTEGER (kind = C_INT) , VALUE :: time_counter_size 343 END SUBROUTINE cxios_set_filegroup_time_counter 344 345 SUBROUTINE cxios_get_filegroup_time_counter(filegroup_hdl, time_counter, time_counter_size) BIND(C) 346 USE ISO_C_BINDING 347 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 348 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: time_counter 349 INTEGER (kind = C_INT) , VALUE :: time_counter_size 350 END SUBROUTINE cxios_get_filegroup_time_counter 351 352 FUNCTION cxios_is_defined_filegroup_time_counter(filegroup_hdl) BIND(C) 353 USE ISO_C_BINDING 354 LOGICAL(kind=C_BOOL) :: cxios_is_defined_filegroup_time_counter 355 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 356 END FUNCTION cxios_is_defined_filegroup_time_counter 357 358 338 359 SUBROUTINE cxios_set_filegroup_type(filegroup_hdl, type, type_size) BIND(C) 339 360 USE ISO_C_BINDING -
XIOS/trunk/src/interface/fortran_attr/ifile_attr.F90
r608 r699 13 13 SUBROUTINE xios(set_file_attr) & 14 14 ( file_id, append, compression_level, description, enabled, format, min_digits, mode, 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 … … 35 36 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 36 37 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: sync_freq 38 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: time_counter 37 39 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 38 40 … … 41 43 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 42 44 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq & 43 , t ype )45 , time_counter, type ) 44 46 45 47 END SUBROUTINE xios(set_file_attr) … … 48 50 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 49 51 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq & 50 , t ype )52 , time_counter, type ) 51 53 52 54 IMPLICIT NONE … … 69 71 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 70 72 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: sync_freq 73 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: time_counter 71 74 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 72 75 … … 74 77 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 75 78 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq & 76 , t ype )79 , time_counter, type ) 77 80 78 81 END SUBROUTINE xios(set_file_attr_hdl) … … 81 84 ( file_hdl, append_, compression_level_, description_, enabled_, format_, min_digits_, mode_ & 82 85 , name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_ & 83 , sync_freq_, t ype_ )86 , sync_freq_, time_counter_, type_ ) 84 87 85 88 IMPLICIT NONE … … 102 105 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format_ 103 106 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: sync_freq_ 107 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: time_counter_ 104 108 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type_ 105 109 … … 166 170 ENDIF 167 171 172 IF (PRESENT(time_counter_)) THEN 173 CALL cxios_set_file_time_counter(file_hdl%daddr, time_counter_, len(time_counter_)) 174 ENDIF 175 168 176 IF (PRESENT(type_)) THEN 169 177 CALL cxios_set_file_type(file_hdl%daddr, type_, len(type_)) … … 174 182 SUBROUTINE xios(get_file_attr) & 175 183 ( file_id, append, compression_level, description, enabled, format, min_digits, mode, name, name_suffix & 176 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 184 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 185 , type ) 177 186 178 187 IMPLICIT NONE … … 196 205 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 197 206 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: sync_freq 207 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: time_counter 198 208 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 199 209 … … 202 212 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 203 213 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq & 204 , t ype )214 , time_counter, type ) 205 215 206 216 END SUBROUTINE xios(get_file_attr) … … 209 219 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 210 220 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq & 211 , t ype )221 , time_counter, type ) 212 222 213 223 IMPLICIT NONE … … 230 240 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 231 241 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: sync_freq 242 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: time_counter 232 243 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 233 244 … … 235 246 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 236 247 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq & 237 , t ype )248 , time_counter, type ) 238 249 239 250 END SUBROUTINE xios(get_file_attr_hdl) … … 242 253 ( file_hdl, append_, compression_level_, description_, enabled_, format_, min_digits_, mode_ & 243 254 , name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_ & 244 , sync_freq_, t ype_ )255 , sync_freq_, time_counter_, type_ ) 245 256 246 257 IMPLICIT NONE … … 263 274 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format_ 264 275 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: sync_freq_ 276 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: time_counter_ 265 277 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type_ 266 278 … … 327 339 ENDIF 328 340 341 IF (PRESENT(time_counter_)) THEN 342 CALL cxios_get_file_time_counter(file_hdl%daddr, time_counter_, len(time_counter_)) 343 ENDIF 344 329 345 IF (PRESENT(type_)) THEN 330 346 CALL cxios_get_file_type(file_hdl%daddr, type_, len(type_)) … … 335 351 SUBROUTINE xios(is_defined_file_attr) & 336 352 ( file_id, append, compression_level, description, enabled, format, min_digits, mode, name, name_suffix & 337 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, type ) 353 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter & 354 , type ) 338 355 339 356 IMPLICIT NONE … … 370 387 LOGICAL, OPTIONAL, INTENT(OUT) :: sync_freq 371 388 LOGICAL(KIND=C_BOOL) :: sync_freq_tmp 389 LOGICAL, OPTIONAL, INTENT(OUT) :: time_counter 390 LOGICAL(KIND=C_BOOL) :: time_counter_tmp 372 391 LOGICAL, OPTIONAL, INTENT(OUT) :: type 373 392 LOGICAL(KIND=C_BOOL) :: type_tmp … … 377 396 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 378 397 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq & 379 , t ype )398 , time_counter, type ) 380 399 381 400 END SUBROUTINE xios(is_defined_file_attr) … … 384 403 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 385 404 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq & 386 , t ype )405 , time_counter, type ) 387 406 388 407 IMPLICIT NONE … … 418 437 LOGICAL, OPTIONAL, INTENT(OUT) :: sync_freq 419 438 LOGICAL(KIND=C_BOOL) :: sync_freq_tmp 439 LOGICAL, OPTIONAL, INTENT(OUT) :: time_counter 440 LOGICAL(KIND=C_BOOL) :: time_counter_tmp 420 441 LOGICAL, OPTIONAL, INTENT(OUT) :: type 421 442 LOGICAL(KIND=C_BOOL) :: type_tmp … … 424 445 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 425 446 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq & 426 , t ype )447 , time_counter, type ) 427 448 428 449 END SUBROUTINE xios(is_defined_file_attr_hdl) … … 431 452 ( file_hdl, append_, compression_level_, description_, enabled_, format_, min_digits_, mode_ & 432 453 , name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_ & 433 , sync_freq_, t ype_ )454 , sync_freq_, time_counter_, type_ ) 434 455 435 456 IMPLICIT NONE … … 465 486 LOGICAL, OPTIONAL, INTENT(OUT) :: sync_freq_ 466 487 LOGICAL(KIND=C_BOOL) :: sync_freq__tmp 488 LOGICAL, OPTIONAL, INTENT(OUT) :: time_counter_ 489 LOGICAL(KIND=C_BOOL) :: time_counter__tmp 467 490 LOGICAL, OPTIONAL, INTENT(OUT) :: type_ 468 491 LOGICAL(KIND=C_BOOL) :: type__tmp … … 543 566 ENDIF 544 567 568 IF (PRESENT(time_counter_)) THEN 569 time_counter__tmp = cxios_is_defined_file_time_counter(file_hdl%daddr) 570 time_counter_ = time_counter__tmp 571 ENDIF 572 545 573 IF (PRESENT(type_)) THEN 546 574 type__tmp = cxios_is_defined_file_type(file_hdl%daddr) -
XIOS/trunk/src/interface/fortran_attr/ifilegroup_attr.F90
r608 r699 14 14 ( filegroup_id, append, compression_level, description, enabled, format, group_ref, min_digits & 15 15 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format & 16 , sync_freq, t ype )16 , sync_freq, time_counter, type ) 17 17 18 18 IMPLICIT NONE … … 37 37 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 38 38 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: sync_freq 39 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: time_counter 39 40 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 40 41 … … 43 44 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 44 45 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format & 45 , sync_freq, t ype )46 , sync_freq, time_counter, type ) 46 47 47 48 END SUBROUTINE xios(set_filegroup_attr) … … 50 51 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 51 52 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format & 52 , sync_freq, t ype )53 , sync_freq, time_counter, type ) 53 54 54 55 IMPLICIT NONE … … 72 73 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 73 74 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: sync_freq 75 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: time_counter 74 76 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 75 77 … … 77 79 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 78 80 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format & 79 , sync_freq, t ype )81 , sync_freq, time_counter, type ) 80 82 81 83 END SUBROUTINE xios(set_filegroup_attr_hdl) … … 84 86 ( filegroup_hdl, append_, compression_level_, description_, enabled_, format_, group_ref_, min_digits_ & 85 87 , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_ & 86 , sync_freq_, t ype_ )88 , sync_freq_, time_counter_, type_ ) 87 89 88 90 IMPLICIT NONE … … 106 108 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format_ 107 109 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: sync_freq_ 110 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: time_counter_ 108 111 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type_ 109 112 … … 174 177 ENDIF 175 178 179 IF (PRESENT(time_counter_)) THEN 180 CALL cxios_set_filegroup_time_counter(filegroup_hdl%daddr, time_counter_, len(time_counter_)) 181 ENDIF 182 176 183 IF (PRESENT(type_)) THEN 177 184 CALL cxios_set_filegroup_type(filegroup_hdl%daddr, type_, len(type_)) … … 183 190 ( filegroup_id, append, compression_level, description, enabled, format, group_ref, min_digits & 184 191 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format & 185 , sync_freq, t ype )192 , sync_freq, time_counter, type ) 186 193 187 194 IMPLICIT NONE … … 206 213 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 207 214 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: sync_freq 215 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: time_counter 208 216 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 209 217 … … 212 220 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 213 221 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format & 214 , sync_freq, t ype )222 , sync_freq, time_counter, type ) 215 223 216 224 END SUBROUTINE xios(get_filegroup_attr) … … 219 227 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 220 228 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format & 221 , sync_freq, t ype )229 , sync_freq, time_counter, type ) 222 230 223 231 IMPLICIT NONE … … 241 249 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 242 250 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: sync_freq 251 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: time_counter 243 252 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 244 253 … … 246 255 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 247 256 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format & 248 , sync_freq, t ype )257 , sync_freq, time_counter, type ) 249 258 250 259 END SUBROUTINE xios(get_filegroup_attr_hdl) … … 253 262 ( filegroup_hdl, append_, compression_level_, description_, enabled_, format_, group_ref_, min_digits_ & 254 263 , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_ & 255 , sync_freq_, t ype_ )264 , sync_freq_, time_counter_, type_ ) 256 265 257 266 IMPLICIT NONE … … 275 284 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format_ 276 285 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: sync_freq_ 286 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: time_counter_ 277 287 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type_ 278 288 … … 343 353 ENDIF 344 354 355 IF (PRESENT(time_counter_)) THEN 356 CALL cxios_get_filegroup_time_counter(filegroup_hdl%daddr, time_counter_, len(time_counter_)) 357 ENDIF 358 345 359 IF (PRESENT(type_)) THEN 346 360 CALL cxios_get_filegroup_type(filegroup_hdl%daddr, type_, len(type_)) … … 352 366 ( filegroup_id, append, compression_level, description, enabled, format, group_ref, min_digits & 353 367 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format & 354 , sync_freq, t ype )368 , sync_freq, time_counter, type ) 355 369 356 370 IMPLICIT NONE … … 389 403 LOGICAL, OPTIONAL, INTENT(OUT) :: sync_freq 390 404 LOGICAL(KIND=C_BOOL) :: sync_freq_tmp 405 LOGICAL, OPTIONAL, INTENT(OUT) :: time_counter 406 LOGICAL(KIND=C_BOOL) :: time_counter_tmp 391 407 LOGICAL, OPTIONAL, INTENT(OUT) :: type 392 408 LOGICAL(KIND=C_BOOL) :: type_tmp … … 396 412 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 397 413 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format & 398 , sync_freq, t ype )414 , sync_freq, time_counter, type ) 399 415 400 416 END SUBROUTINE xios(is_defined_filegroup_attr) … … 403 419 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 404 420 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format & 405 , sync_freq, t ype )421 , sync_freq, time_counter, type ) 406 422 407 423 IMPLICIT NONE … … 439 455 LOGICAL, OPTIONAL, INTENT(OUT) :: sync_freq 440 456 LOGICAL(KIND=C_BOOL) :: sync_freq_tmp 457 LOGICAL, OPTIONAL, INTENT(OUT) :: time_counter 458 LOGICAL(KIND=C_BOOL) :: time_counter_tmp 441 459 LOGICAL, OPTIONAL, INTENT(OUT) :: type 442 460 LOGICAL(KIND=C_BOOL) :: type_tmp … … 445 463 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 446 464 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format & 447 , sync_freq, t ype )465 , sync_freq, time_counter, type ) 448 466 449 467 END SUBROUTINE xios(is_defined_filegroup_attr_hdl) … … 452 470 ( filegroup_hdl, append_, compression_level_, description_, enabled_, format_, group_ref_, min_digits_ & 453 471 , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_ & 454 , sync_freq_, t ype_ )472 , sync_freq_, time_counter_, type_ ) 455 473 456 474 IMPLICIT NONE … … 488 506 LOGICAL, OPTIONAL, INTENT(OUT) :: sync_freq_ 489 507 LOGICAL(KIND=C_BOOL) :: sync_freq__tmp 508 LOGICAL, OPTIONAL, INTENT(OUT) :: time_counter_ 509 LOGICAL(KIND=C_BOOL) :: time_counter__tmp 490 510 LOGICAL, OPTIONAL, INTENT(OUT) :: type_ 491 511 LOGICAL(KIND=C_BOOL) :: type__tmp … … 571 591 ENDIF 572 592 593 IF (PRESENT(time_counter_)) THEN 594 time_counter__tmp = cxios_is_defined_filegroup_time_counter(filegroup_hdl%daddr) 595 time_counter_ = time_counter__tmp 596 ENDIF 597 573 598 IF (PRESENT(type_)) THEN 574 599 type__tmp = cxios_is_defined_filegroup_type(filegroup_hdl%daddr)
Note: See TracChangeset
for help on using the changeset viewer.