Changeset 703
- Timestamp:
- 09/22/15 14:01:30 (9 years ago)
- Location:
- XIOS/branchs/xios-1.0/src/interface
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/branchs/xios-1.0/src/interface/c_attr/icfile_attr.cpp
r608 r703 333 333 334 334 335 void cxios_set_file_time_counter(file_Ptr file_hdl, const char * time_counter, int time_counter_size) 336 { 337 std::string time_counter_str; 338 if(!cstr2string(time_counter, time_counter_size, time_counter_str)) return; 339 CTimer::get("XIOS").resume(); 340 file_hdl->time_counter.fromString(time_counter_str); 341 file_hdl->sendAttributToServer(file_hdl->time_counter); 342 CTimer::get("XIOS").suspend(); 343 } 344 345 void cxios_get_file_time_counter(file_Ptr file_hdl, char * time_counter, int time_counter_size) 346 { 347 CTimer::get("XIOS").resume(); 348 if(!string_copy(file_hdl->time_counter.getInheritedStringValue(),time_counter , time_counter_size)) 349 ERROR("void cxios_get_file_time_counter(file_Ptr file_hdl, char * time_counter, int time_counter_size)", <<"Input string is to short"); 350 CTimer::get("XIOS").suspend(); 351 } 352 353 bool cxios_is_defined_file_time_counter(file_Ptr file_hdl ) 354 { 355 CTimer::get("XIOS").resume(); 356 bool isDefined = file_hdl->time_counter.hasInheritedValue(); 357 CTimer::get("XIOS").suspend(); 358 return isDefined; 359 } 360 361 362 335 363 void cxios_set_file_type(file_Ptr file_hdl, const char * type, int type_size) 336 364 { -
XIOS/branchs/xios-1.0/src/interface/c_attr/icfilegroup_attr.cpp
r608 r703 361 361 362 362 363 void cxios_set_filegroup_time_counter(filegroup_Ptr filegroup_hdl, const char * time_counter, int time_counter_size) 364 { 365 std::string time_counter_str; 366 if(!cstr2string(time_counter, time_counter_size, time_counter_str)) return; 367 CTimer::get("XIOS").resume(); 368 filegroup_hdl->time_counter.fromString(time_counter_str); 369 filegroup_hdl->sendAttributToServer(filegroup_hdl->time_counter); 370 CTimer::get("XIOS").suspend(); 371 } 372 373 void cxios_get_filegroup_time_counter(filegroup_Ptr filegroup_hdl, char * time_counter, int time_counter_size) 374 { 375 CTimer::get("XIOS").resume(); 376 if(!string_copy(filegroup_hdl->time_counter.getInheritedStringValue(),time_counter , time_counter_size)) 377 ERROR("void cxios_get_filegroup_time_counter(filegroup_Ptr filegroup_hdl, char * time_counter, int time_counter_size)", <<"Input string is to short"); 378 CTimer::get("XIOS").suspend(); 379 } 380 381 bool cxios_is_defined_filegroup_time_counter(filegroup_Ptr filegroup_hdl ) 382 { 383 CTimer::get("XIOS").resume(); 384 bool isDefined = filegroup_hdl->time_counter.hasInheritedValue(); 385 CTimer::get("XIOS").suspend(); 386 return isDefined; 387 } 388 389 390 363 391 void cxios_set_filegroup_type(filegroup_Ptr filegroup_hdl, const char * type, int type_size) 364 392 { -
XIOS/branchs/xios-1.0/src/interface/fortran_attr/file_interface_attr.f90
r608 r703 253 253 254 254 255 SUBROUTINE cxios_set_file_time_counter(file_hdl, time_counter, time_counter_size) BIND(C) 256 USE ISO_C_BINDING 257 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 258 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: time_counter 259 INTEGER (kind = C_INT) , VALUE :: time_counter_size 260 END SUBROUTINE cxios_set_file_time_counter 261 262 SUBROUTINE cxios_get_file_time_counter(file_hdl, time_counter, time_counter_size) BIND(C) 263 USE ISO_C_BINDING 264 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 265 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: time_counter 266 INTEGER (kind = C_INT) , VALUE :: time_counter_size 267 END SUBROUTINE cxios_get_file_time_counter 268 269 FUNCTION cxios_is_defined_file_time_counter(file_hdl ) BIND(C) 270 USE ISO_C_BINDING 271 LOGICAL(kind=C_BOOL) :: cxios_is_defined_file_time_counter 272 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 273 END FUNCTION cxios_is_defined_file_time_counter 274 275 255 276 SUBROUTINE cxios_set_file_type(file_hdl, type, type_size) BIND(C) 256 277 USE ISO_C_BINDING -
XIOS/branchs/xios-1.0/src/interface/fortran_attr/filegroup_interface_attr.f90
r608 r703 274 274 275 275 276 SUBROUTINE cxios_set_filegroup_time_counter(filegroup_hdl, time_counter, time_counter_size) BIND(C) 277 USE ISO_C_BINDING 278 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 279 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: time_counter 280 INTEGER (kind = C_INT) , VALUE :: time_counter_size 281 END SUBROUTINE cxios_set_filegroup_time_counter 282 283 SUBROUTINE cxios_get_filegroup_time_counter(filegroup_hdl, time_counter, time_counter_size) BIND(C) 284 USE ISO_C_BINDING 285 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 286 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: time_counter 287 INTEGER (kind = C_INT) , VALUE :: time_counter_size 288 END SUBROUTINE cxios_get_filegroup_time_counter 289 290 FUNCTION cxios_is_defined_filegroup_time_counter(filegroup_hdl ) BIND(C) 291 USE ISO_C_BINDING 292 LOGICAL(kind=C_BOOL) :: cxios_is_defined_filegroup_time_counter 293 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 294 END FUNCTION cxios_is_defined_filegroup_time_counter 295 296 276 297 SUBROUTINE cxios_set_filegroup_type(filegroup_hdl, type, type_size) BIND(C) 277 298 USE ISO_C_BINDING -
XIOS/branchs/xios-1.0/src/interface/fortran_attr/ifile_attr.F90
r608 r703 13 13 SUBROUTINE xios(set_file_attr) & 14 14 ( file_id, compression_level, description, enabled, min_digits, name, name_suffix, output_freq & 15 , output_level, par_access, split_freq, split_freq_format, sync_freq, t ype )15 , output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter, type ) 16 16 17 17 IMPLICIT NONE … … 31 31 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 32 32 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: sync_freq 33 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: time_counter 33 34 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 34 35 … … 36 37 CALL xios(set_file_attr_hdl_) & 37 38 ( file_hdl, compression_level, description, enabled, min_digits, name, name_suffix, output_freq & 38 , output_level, par_access, split_freq, split_freq_format, sync_freq, t ype )39 , output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter, type ) 39 40 40 41 END SUBROUTINE xios(set_file_attr) … … 42 43 SUBROUTINE xios(set_file_attr_hdl) & 43 44 ( file_hdl, compression_level, description, enabled, min_digits, name, name_suffix, output_freq & 44 , output_level, par_access, split_freq, split_freq_format, sync_freq, t ype )45 , output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter, type ) 45 46 46 47 IMPLICIT NONE … … 59 60 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 60 61 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: sync_freq 62 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: time_counter 61 63 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 62 64 63 65 CALL xios(set_file_attr_hdl_) & 64 66 ( file_hdl, compression_level, description, enabled, min_digits, name, name_suffix, output_freq & 65 , output_level, par_access, split_freq, split_freq_format, sync_freq, t ype )67 , output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter, type ) 66 68 67 69 END SUBROUTINE xios(set_file_attr_hdl) … … 69 71 SUBROUTINE xios(set_file_attr_hdl_) & 70 72 ( file_hdl, compression_level_, description_, enabled_, min_digits_, name_, name_suffix_, output_freq_ & 71 , output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_, type_ ) 73 , output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_, time_counter_, type_ & 74 ) 72 75 73 76 IMPLICIT NONE … … 86 89 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format_ 87 90 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: sync_freq_ 91 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: time_counter_ 88 92 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type_ 89 93 … … 137 141 ENDIF 138 142 143 IF (PRESENT(time_counter_)) THEN 144 CALL cxios_set_file_time_counter(file_hdl%daddr, time_counter_, len(time_counter_)) 145 ENDIF 146 139 147 IF (PRESENT(type_)) THEN 140 148 CALL cxios_set_file_type(file_hdl%daddr, type_, len(type_)) … … 147 155 SUBROUTINE xios(get_file_attr) & 148 156 ( file_id, compression_level, description, enabled, min_digits, name, name_suffix, output_freq & 149 , output_level, par_access, split_freq, split_freq_format, sync_freq, t ype )157 , output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter, type ) 150 158 151 159 IMPLICIT NONE … … 165 173 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 166 174 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: sync_freq 175 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: time_counter 167 176 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 168 177 … … 170 179 CALL xios(get_file_attr_hdl_) & 171 180 ( file_hdl, compression_level, description, enabled, min_digits, name, name_suffix, output_freq & 172 , output_level, par_access, split_freq, split_freq_format, sync_freq, t ype )181 , output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter, type ) 173 182 174 183 END SUBROUTINE xios(get_file_attr) … … 176 185 SUBROUTINE xios(get_file_attr_hdl) & 177 186 ( file_hdl, compression_level, description, enabled, min_digits, name, name_suffix, output_freq & 178 , output_level, par_access, split_freq, split_freq_format, sync_freq, t ype )187 , output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter, type ) 179 188 180 189 IMPLICIT NONE … … 193 202 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 194 203 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: sync_freq 204 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: time_counter 195 205 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 196 206 197 207 CALL xios(get_file_attr_hdl_) & 198 208 ( file_hdl, compression_level, description, enabled, min_digits, name, name_suffix, output_freq & 199 , output_level, par_access, split_freq, split_freq_format, sync_freq, t ype )209 , output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter, type ) 200 210 201 211 END SUBROUTINE xios(get_file_attr_hdl) … … 203 213 SUBROUTINE xios(get_file_attr_hdl_) & 204 214 ( file_hdl, compression_level_, description_, enabled_, min_digits_, name_, name_suffix_, output_freq_ & 205 , output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_, type_ ) 215 , output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_, time_counter_, type_ & 216 ) 206 217 207 218 IMPLICIT NONE … … 220 231 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format_ 221 232 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: sync_freq_ 233 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: time_counter_ 222 234 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type_ 223 235 … … 271 283 ENDIF 272 284 285 IF (PRESENT(time_counter_)) THEN 286 CALL cxios_get_file_time_counter(file_hdl%daddr, time_counter_, len(time_counter_)) 287 ENDIF 288 273 289 IF (PRESENT(type_)) THEN 274 290 CALL cxios_get_file_type(file_hdl%daddr, type_, len(type_)) … … 281 297 SUBROUTINE xios(is_defined_file_attr) & 282 298 ( file_id, compression_level, description, enabled, min_digits, name, name_suffix, output_freq & 283 , output_level, par_access, split_freq, split_freq_format, sync_freq, t ype )299 , output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter, type ) 284 300 285 301 IMPLICIT NONE … … 310 326 LOGICAL, OPTIONAL, INTENT(OUT) :: sync_freq 311 327 LOGICAL(KIND=C_BOOL) :: sync_freq_tmp 328 LOGICAL, OPTIONAL, INTENT(OUT) :: time_counter 329 LOGICAL(KIND=C_BOOL) :: time_counter_tmp 312 330 LOGICAL, OPTIONAL, INTENT(OUT) :: type 313 331 LOGICAL(KIND=C_BOOL) :: type_tmp … … 316 334 CALL xios(is_defined_file_attr_hdl_) & 317 335 ( file_hdl, compression_level, description, enabled, min_digits, name, name_suffix, output_freq & 318 , output_level, par_access, split_freq, split_freq_format, sync_freq, t ype )336 , output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter, type ) 319 337 320 338 END SUBROUTINE xios(is_defined_file_attr) … … 322 340 SUBROUTINE xios(is_defined_file_attr_hdl) & 323 341 ( file_hdl, compression_level, description, enabled, min_digits, name, name_suffix, output_freq & 324 , output_level, par_access, split_freq, split_freq_format, sync_freq, t ype )342 , output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter, type ) 325 343 326 344 IMPLICIT NONE … … 350 368 LOGICAL, OPTIONAL, INTENT(OUT) :: sync_freq 351 369 LOGICAL(KIND=C_BOOL) :: sync_freq_tmp 370 LOGICAL, OPTIONAL, INTENT(OUT) :: time_counter 371 LOGICAL(KIND=C_BOOL) :: time_counter_tmp 352 372 LOGICAL, OPTIONAL, INTENT(OUT) :: type 353 373 LOGICAL(KIND=C_BOOL) :: type_tmp … … 355 375 CALL xios(is_defined_file_attr_hdl_) & 356 376 ( file_hdl, compression_level, description, enabled, min_digits, name, name_suffix, output_freq & 357 , output_level, par_access, split_freq, split_freq_format, sync_freq, t ype )377 , output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter, type ) 358 378 359 379 END SUBROUTINE xios(is_defined_file_attr_hdl) … … 361 381 SUBROUTINE xios(is_defined_file_attr_hdl_) & 362 382 ( file_hdl, compression_level_, description_, enabled_, min_digits_, name_, name_suffix_, output_freq_ & 363 , output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_, type_ ) 383 , output_level_, par_access_, split_freq_, split_freq_format_, sync_freq_, time_counter_, type_ & 384 ) 364 385 365 386 IMPLICIT NONE … … 389 410 LOGICAL, OPTIONAL, INTENT(OUT) :: sync_freq_ 390 411 LOGICAL(KIND=C_BOOL) :: sync_freq__tmp 412 LOGICAL, OPTIONAL, INTENT(OUT) :: time_counter_ 413 LOGICAL(KIND=C_BOOL) :: time_counter__tmp 391 414 LOGICAL, OPTIONAL, INTENT(OUT) :: type_ 392 415 LOGICAL(KIND=C_BOOL) :: type__tmp … … 452 475 ENDIF 453 476 477 IF (PRESENT(time_counter_)) THEN 478 time_counter__tmp=cxios_is_defined_file_time_counter(file_hdl%daddr) 479 time_counter_=time_counter__tmp 480 ENDIF 481 454 482 IF (PRESENT(type_)) THEN 455 483 type__tmp=cxios_is_defined_file_type(file_hdl%daddr) -
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.