Changeset 779
- Timestamp:
- 11/04/15 15:50:20 (8 years ago)
- Location:
- XIOS/trunk/src/interface
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/c_attr/icaxis_attr.cpp
r674 r779 237 237 238 238 239 void cxios_set_axis_n_distributed_partition(axis_Ptr axis_hdl, int n_distributed_partition) 240 { 241 CTimer::get("XIOS").resume(); 242 axis_hdl->n_distributed_partition.setValue(n_distributed_partition); 243 CTimer::get("XIOS").suspend(); 244 } 245 246 void cxios_get_axis_n_distributed_partition(axis_Ptr axis_hdl, int* n_distributed_partition) 247 { 248 CTimer::get("XIOS").resume(); 249 *n_distributed_partition = axis_hdl->n_distributed_partition.getInheritedValue(); 250 CTimer::get("XIOS").suspend(); 251 } 252 253 bool cxios_is_defined_axis_n_distributed_partition(axis_Ptr axis_hdl) 254 { 255 CTimer::get("XIOS").resume(); 256 bool isDefined = axis_hdl->n_distributed_partition.hasInheritedValue(); 257 CTimer::get("XIOS").suspend(); 258 return isDefined; 259 } 260 261 239 262 void cxios_set_axis_n_glo(axis_Ptr axis_hdl, int n_glo) 240 263 { -
XIOS/trunk/src/interface/c_attr/icaxisgroup_attr.cpp
r674 r779 263 263 264 264 265 void cxios_set_axisgroup_n_distributed_partition(axisgroup_Ptr axisgroup_hdl, int n_distributed_partition) 266 { 267 CTimer::get("XIOS").resume(); 268 axisgroup_hdl->n_distributed_partition.setValue(n_distributed_partition); 269 CTimer::get("XIOS").suspend(); 270 } 271 272 void cxios_get_axisgroup_n_distributed_partition(axisgroup_Ptr axisgroup_hdl, int* n_distributed_partition) 273 { 274 CTimer::get("XIOS").resume(); 275 *n_distributed_partition = axisgroup_hdl->n_distributed_partition.getInheritedValue(); 276 CTimer::get("XIOS").suspend(); 277 } 278 279 bool cxios_is_defined_axisgroup_n_distributed_partition(axisgroup_Ptr axisgroup_hdl) 280 { 281 CTimer::get("XIOS").resume(); 282 bool isDefined = axisgroup_hdl->n_distributed_partition.hasInheritedValue(); 283 CTimer::get("XIOS").suspend(); 284 return isDefined; 285 } 286 287 265 288 void cxios_set_axisgroup_n_glo(axisgroup_Ptr axisgroup_hdl, int n_glo) 266 289 { -
XIOS/trunk/src/interface/c_attr/icfile_attr.cpp
r711 r779 327 327 328 328 329 void cxios_set_file_record_offset(file_Ptr file_hdl, int record_offset) 330 { 331 CTimer::get("XIOS").resume(); 332 file_hdl->record_offset.setValue(record_offset); 333 CTimer::get("XIOS").suspend(); 334 } 335 336 void cxios_get_file_record_offset(file_Ptr file_hdl, int* record_offset) 337 { 338 CTimer::get("XIOS").resume(); 339 *record_offset = file_hdl->record_offset.getInheritedValue(); 340 CTimer::get("XIOS").suspend(); 341 } 342 343 bool cxios_is_defined_file_record_offset(file_Ptr file_hdl) 344 { 345 CTimer::get("XIOS").resume(); 346 bool isDefined = file_hdl->record_offset.hasInheritedValue(); 347 CTimer::get("XIOS").suspend(); 348 return isDefined; 349 } 350 351 329 352 void cxios_set_file_split_freq(file_Ptr file_hdl, cxios_duration split_freq_c) 330 353 { -
XIOS/trunk/src/interface/c_attr/icfilegroup_attr.cpp
r711 r779 353 353 354 354 355 void cxios_set_filegroup_record_offset(filegroup_Ptr filegroup_hdl, int record_offset) 356 { 357 CTimer::get("XIOS").resume(); 358 filegroup_hdl->record_offset.setValue(record_offset); 359 CTimer::get("XIOS").suspend(); 360 } 361 362 void cxios_get_filegroup_record_offset(filegroup_Ptr filegroup_hdl, int* record_offset) 363 { 364 CTimer::get("XIOS").resume(); 365 *record_offset = filegroup_hdl->record_offset.getInheritedValue(); 366 CTimer::get("XIOS").suspend(); 367 } 368 369 bool cxios_is_defined_filegroup_record_offset(filegroup_Ptr filegroup_hdl) 370 { 371 CTimer::get("XIOS").resume(); 372 bool isDefined = filegroup_hdl->record_offset.hasInheritedValue(); 373 CTimer::get("XIOS").suspend(); 374 return isDefined; 375 } 376 377 355 378 void cxios_set_filegroup_split_freq(filegroup_Ptr filegroup_hdl, cxios_duration split_freq_c) 356 379 { -
XIOS/trunk/src/interface/fortran_attr/axis_interface_attr.F90
r674 r779 191 191 192 192 193 SUBROUTINE cxios_set_axis_n_distributed_partition(axis_hdl, n_distributed_partition) BIND(C) 194 USE ISO_C_BINDING 195 INTEGER (kind = C_INTPTR_T), VALUE :: axis_hdl 196 INTEGER (KIND=C_INT) , VALUE :: n_distributed_partition 197 END SUBROUTINE cxios_set_axis_n_distributed_partition 198 199 SUBROUTINE cxios_get_axis_n_distributed_partition(axis_hdl, n_distributed_partition) BIND(C) 200 USE ISO_C_BINDING 201 INTEGER (kind = C_INTPTR_T), VALUE :: axis_hdl 202 INTEGER (KIND=C_INT) :: n_distributed_partition 203 END SUBROUTINE cxios_get_axis_n_distributed_partition 204 205 FUNCTION cxios_is_defined_axis_n_distributed_partition(axis_hdl) BIND(C) 206 USE ISO_C_BINDING 207 LOGICAL(kind=C_BOOL) :: cxios_is_defined_axis_n_distributed_partition 208 INTEGER (kind = C_INTPTR_T), VALUE :: axis_hdl 209 END FUNCTION cxios_is_defined_axis_n_distributed_partition 210 211 193 212 SUBROUTINE cxios_set_axis_n_glo(axis_hdl, n_glo) BIND(C) 194 213 USE ISO_C_BINDING -
XIOS/trunk/src/interface/fortran_attr/axisgroup_interface_attr.F90
r674 r779 212 212 213 213 214 SUBROUTINE cxios_set_axisgroup_n_distributed_partition(axisgroup_hdl, n_distributed_partition) BIND(C) 215 USE ISO_C_BINDING 216 INTEGER (kind = C_INTPTR_T), VALUE :: axisgroup_hdl 217 INTEGER (KIND=C_INT) , VALUE :: n_distributed_partition 218 END SUBROUTINE cxios_set_axisgroup_n_distributed_partition 219 220 SUBROUTINE cxios_get_axisgroup_n_distributed_partition(axisgroup_hdl, n_distributed_partition) BIND(C) 221 USE ISO_C_BINDING 222 INTEGER (kind = C_INTPTR_T), VALUE :: axisgroup_hdl 223 INTEGER (KIND=C_INT) :: n_distributed_partition 224 END SUBROUTINE cxios_get_axisgroup_n_distributed_partition 225 226 FUNCTION cxios_is_defined_axisgroup_n_distributed_partition(axisgroup_hdl) BIND(C) 227 USE ISO_C_BINDING 228 LOGICAL(kind=C_BOOL) :: cxios_is_defined_axisgroup_n_distributed_partition 229 INTEGER (kind = C_INTPTR_T), VALUE :: axisgroup_hdl 230 END FUNCTION cxios_is_defined_axisgroup_n_distributed_partition 231 232 214 233 SUBROUTINE cxios_set_axisgroup_n_glo(axisgroup_hdl, n_glo) BIND(C) 215 234 USE ISO_C_BINDING -
XIOS/trunk/src/interface/fortran_attr/file_interface_attr.F90
r711 r779 252 252 253 253 254 SUBROUTINE cxios_set_file_record_offset(file_hdl, record_offset) BIND(C) 255 USE ISO_C_BINDING 256 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 257 INTEGER (KIND=C_INT) , VALUE :: record_offset 258 END SUBROUTINE cxios_set_file_record_offset 259 260 SUBROUTINE cxios_get_file_record_offset(file_hdl, record_offset) BIND(C) 261 USE ISO_C_BINDING 262 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 263 INTEGER (KIND=C_INT) :: record_offset 264 END SUBROUTINE cxios_get_file_record_offset 265 266 FUNCTION cxios_is_defined_file_record_offset(file_hdl) BIND(C) 267 USE ISO_C_BINDING 268 LOGICAL(kind=C_BOOL) :: cxios_is_defined_file_record_offset 269 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 270 END FUNCTION cxios_is_defined_file_record_offset 271 272 254 273 SUBROUTINE cxios_set_file_split_freq(file_hdl, split_freq) BIND(C) 255 274 USE ISO_C_BINDING -
XIOS/trunk/src/interface/fortran_attr/filegroup_interface_attr.F90
r711 r779 273 273 274 274 275 SUBROUTINE cxios_set_filegroup_record_offset(filegroup_hdl, record_offset) BIND(C) 276 USE ISO_C_BINDING 277 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 278 INTEGER (KIND=C_INT) , VALUE :: record_offset 279 END SUBROUTINE cxios_set_filegroup_record_offset 280 281 SUBROUTINE cxios_get_filegroup_record_offset(filegroup_hdl, record_offset) BIND(C) 282 USE ISO_C_BINDING 283 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 284 INTEGER (KIND=C_INT) :: record_offset 285 END SUBROUTINE cxios_get_filegroup_record_offset 286 287 FUNCTION cxios_is_defined_filegroup_record_offset(filegroup_hdl) BIND(C) 288 USE ISO_C_BINDING 289 LOGICAL(kind=C_BOOL) :: cxios_is_defined_filegroup_record_offset 290 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 291 END FUNCTION cxios_is_defined_filegroup_record_offset 292 293 275 294 SUBROUTINE cxios_set_filegroup_split_freq(filegroup_hdl, split_freq) BIND(C) 276 295 USE ISO_C_BINDING -
XIOS/trunk/src/interface/fortran_attr/iaxis_attr.F90
r674 r779 12 12 13 13 SUBROUTINE xios(set_axis_attr) & 14 ( axis_id, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_ glo&15 , n ame, positive, standard_name, unit, value )14 ( axis_id, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_distributed_partition & 15 , n_glo, name, positive, standard_name, unit, value ) 16 16 17 17 IMPLICIT NONE … … 28 28 LOGICAL (KIND=C_BOOL) , ALLOCATABLE :: mask_tmp(:) 29 29 INTEGER , OPTIONAL, INTENT(IN) :: n 30 INTEGER , OPTIONAL, INTENT(IN) :: n_distributed_partition 30 31 INTEGER , OPTIONAL, INTENT(IN) :: n_glo 31 32 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name … … 37 38 CALL xios(get_axis_handle)(axis_id,axis_hdl) 38 39 CALL xios(set_axis_attr_hdl_) & 39 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_ glo&40 , n ame, positive, standard_name, unit, value )40 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_distributed_partition & 41 , n_glo, name, positive, standard_name, unit, value ) 41 42 42 43 END SUBROUTINE xios(set_axis_attr) 43 44 44 45 SUBROUTINE xios(set_axis_attr_hdl) & 45 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_ glo&46 , n ame, positive, standard_name, unit, value )46 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_distributed_partition & 47 , n_glo, name, positive, standard_name, unit, value ) 47 48 48 49 IMPLICIT NONE … … 58 59 LOGICAL (KIND=C_BOOL) , ALLOCATABLE :: mask_tmp(:) 59 60 INTEGER , OPTIONAL, INTENT(IN) :: n 61 INTEGER , OPTIONAL, INTENT(IN) :: n_distributed_partition 60 62 INTEGER , OPTIONAL, INTENT(IN) :: n_glo 61 63 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name … … 66 68 67 69 CALL xios(set_axis_attr_hdl_) & 68 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_ glo&69 , n ame, positive, standard_name, unit, value )70 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_distributed_partition & 71 , n_glo, name, positive, standard_name, unit, value ) 70 72 71 73 END SUBROUTINE xios(set_axis_attr_hdl) … … 73 75 SUBROUTINE xios(set_axis_attr_hdl_) & 74 76 ( axis_hdl, axis_ref_, begin_, bounds_, data_begin_, data_index_, data_n_, long_name_, mask_ & 75 , n_, n_ glo_, name_, positive_, standard_name_, unit_, value_ )77 , n_, n_distributed_partition_, n_glo_, name_, positive_, standard_name_, unit_, value_ ) 76 78 77 79 IMPLICIT NONE … … 87 89 LOGICAL (KIND=C_BOOL) , ALLOCATABLE :: mask__tmp(:) 88 90 INTEGER , OPTIONAL, INTENT(IN) :: n_ 91 INTEGER , OPTIONAL, INTENT(IN) :: n_distributed_partition_ 89 92 INTEGER , OPTIONAL, INTENT(IN) :: n_glo_ 90 93 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_ … … 132 135 ENDIF 133 136 137 IF (PRESENT(n_distributed_partition_)) THEN 138 CALL cxios_set_axis_n_distributed_partition(axis_hdl%daddr, n_distributed_partition_) 139 ENDIF 140 134 141 IF (PRESENT(n_glo_)) THEN 135 142 CALL cxios_set_axis_n_glo(axis_hdl%daddr, n_glo_) … … 159 166 160 167 SUBROUTINE xios(get_axis_attr) & 161 ( axis_id, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_ glo&162 , n ame, positive, standard_name, unit, value )168 ( axis_id, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_distributed_partition & 169 , n_glo, name, positive, standard_name, unit, value ) 163 170 164 171 IMPLICIT NONE … … 175 182 LOGICAL (KIND=C_BOOL) , ALLOCATABLE :: mask_tmp(:) 176 183 INTEGER , OPTIONAL, INTENT(OUT) :: n 184 INTEGER , OPTIONAL, INTENT(OUT) :: n_distributed_partition 177 185 INTEGER , OPTIONAL, INTENT(OUT) :: n_glo 178 186 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name … … 184 192 CALL xios(get_axis_handle)(axis_id,axis_hdl) 185 193 CALL xios(get_axis_attr_hdl_) & 186 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_ glo&187 , n ame, positive, standard_name, unit, value )194 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_distributed_partition & 195 , n_glo, name, positive, standard_name, unit, value ) 188 196 189 197 END SUBROUTINE xios(get_axis_attr) 190 198 191 199 SUBROUTINE xios(get_axis_attr_hdl) & 192 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_ glo&193 , n ame, positive, standard_name, unit, value )200 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_distributed_partition & 201 , n_glo, name, positive, standard_name, unit, value ) 194 202 195 203 IMPLICIT NONE … … 205 213 LOGICAL (KIND=C_BOOL) , ALLOCATABLE :: mask_tmp(:) 206 214 INTEGER , OPTIONAL, INTENT(OUT) :: n 215 INTEGER , OPTIONAL, INTENT(OUT) :: n_distributed_partition 207 216 INTEGER , OPTIONAL, INTENT(OUT) :: n_glo 208 217 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name … … 213 222 214 223 CALL xios(get_axis_attr_hdl_) & 215 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_ glo&216 , n ame, positive, standard_name, unit, value )224 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_distributed_partition & 225 , n_glo, name, positive, standard_name, unit, value ) 217 226 218 227 END SUBROUTINE xios(get_axis_attr_hdl) … … 220 229 SUBROUTINE xios(get_axis_attr_hdl_) & 221 230 ( axis_hdl, axis_ref_, begin_, bounds_, data_begin_, data_index_, data_n_, long_name_, mask_ & 222 , n_, n_ glo_, name_, positive_, standard_name_, unit_, value_ )231 , n_, n_distributed_partition_, n_glo_, name_, positive_, standard_name_, unit_, value_ ) 223 232 224 233 IMPLICIT NONE … … 234 243 LOGICAL (KIND=C_BOOL) , ALLOCATABLE :: mask__tmp(:) 235 244 INTEGER , OPTIONAL, INTENT(OUT) :: n_ 245 INTEGER , OPTIONAL, INTENT(OUT) :: n_distributed_partition_ 236 246 INTEGER , OPTIONAL, INTENT(OUT) :: n_glo_ 237 247 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_ … … 279 289 ENDIF 280 290 291 IF (PRESENT(n_distributed_partition_)) THEN 292 CALL cxios_get_axis_n_distributed_partition(axis_hdl%daddr, n_distributed_partition_) 293 ENDIF 294 281 295 IF (PRESENT(n_glo_)) THEN 282 296 CALL cxios_get_axis_n_glo(axis_hdl%daddr, n_glo_) … … 306 320 307 321 SUBROUTINE xios(is_defined_axis_attr) & 308 ( axis_id, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_ glo&309 , n ame, positive, standard_name, unit, value )322 ( axis_id, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_distributed_partition & 323 , n_glo, name, positive, standard_name, unit, value ) 310 324 311 325 IMPLICIT NONE … … 330 344 LOGICAL, OPTIONAL, INTENT(OUT) :: n 331 345 LOGICAL(KIND=C_BOOL) :: n_tmp 346 LOGICAL, OPTIONAL, INTENT(OUT) :: n_distributed_partition 347 LOGICAL(KIND=C_BOOL) :: n_distributed_partition_tmp 332 348 LOGICAL, OPTIONAL, INTENT(OUT) :: n_glo 333 349 LOGICAL(KIND=C_BOOL) :: n_glo_tmp … … 345 361 CALL xios(get_axis_handle)(axis_id,axis_hdl) 346 362 CALL xios(is_defined_axis_attr_hdl_) & 347 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_ glo&348 , n ame, positive, standard_name, unit, value )363 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_distributed_partition & 364 , n_glo, name, positive, standard_name, unit, value ) 349 365 350 366 END SUBROUTINE xios(is_defined_axis_attr) 351 367 352 368 SUBROUTINE xios(is_defined_axis_attr_hdl) & 353 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_ glo&354 , n ame, positive, standard_name, unit, value )369 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_distributed_partition & 370 , n_glo, name, positive, standard_name, unit, value ) 355 371 356 372 IMPLICIT NONE … … 374 390 LOGICAL, OPTIONAL, INTENT(OUT) :: n 375 391 LOGICAL(KIND=C_BOOL) :: n_tmp 392 LOGICAL, OPTIONAL, INTENT(OUT) :: n_distributed_partition 393 LOGICAL(KIND=C_BOOL) :: n_distributed_partition_tmp 376 394 LOGICAL, OPTIONAL, INTENT(OUT) :: n_glo 377 395 LOGICAL(KIND=C_BOOL) :: n_glo_tmp … … 388 406 389 407 CALL xios(is_defined_axis_attr_hdl_) & 390 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_ glo&391 , n ame, positive, standard_name, unit, value )408 ( axis_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, long_name, mask, n, n_distributed_partition & 409 , n_glo, name, positive, standard_name, unit, value ) 392 410 393 411 END SUBROUTINE xios(is_defined_axis_attr_hdl) … … 395 413 SUBROUTINE xios(is_defined_axis_attr_hdl_) & 396 414 ( axis_hdl, axis_ref_, begin_, bounds_, data_begin_, data_index_, data_n_, long_name_, mask_ & 397 , n_, n_ glo_, name_, positive_, standard_name_, unit_, value_ )415 , n_, n_distributed_partition_, n_glo_, name_, positive_, standard_name_, unit_, value_ ) 398 416 399 417 IMPLICIT NONE … … 417 435 LOGICAL, OPTIONAL, INTENT(OUT) :: n_ 418 436 LOGICAL(KIND=C_BOOL) :: n__tmp 437 LOGICAL, OPTIONAL, INTENT(OUT) :: n_distributed_partition_ 438 LOGICAL(KIND=C_BOOL) :: n_distributed_partition__tmp 419 439 LOGICAL, OPTIONAL, INTENT(OUT) :: n_glo_ 420 440 LOGICAL(KIND=C_BOOL) :: n_glo__tmp … … 475 495 ENDIF 476 496 497 IF (PRESENT(n_distributed_partition_)) THEN 498 n_distributed_partition__tmp = cxios_is_defined_axis_n_distributed_partition(axis_hdl%daddr) 499 n_distributed_partition_ = n_distributed_partition__tmp 500 ENDIF 501 477 502 IF (PRESENT(n_glo_)) THEN 478 503 n_glo__tmp = cxios_is_defined_axis_n_glo(axis_hdl%daddr) -
XIOS/trunk/src/interface/fortran_attr/iaxisgroup_attr.F90
r674 r779 13 13 SUBROUTINE xios(set_axisgroup_attr) & 14 14 ( axisgroup_id, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, long_name & 15 , mask, n, n_ glo, name, positive, standard_name, unit, value )15 , mask, n, n_distributed_partition, n_glo, name, positive, standard_name, unit, value ) 16 16 17 17 IMPLICIT NONE … … 29 29 LOGICAL (KIND=C_BOOL) , ALLOCATABLE :: mask_tmp(:) 30 30 INTEGER , OPTIONAL, INTENT(IN) :: n 31 INTEGER , OPTIONAL, INTENT(IN) :: n_distributed_partition 31 32 INTEGER , OPTIONAL, INTENT(IN) :: n_glo 32 33 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name … … 39 40 CALL xios(set_axisgroup_attr_hdl_) & 40 41 ( axisgroup_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, long_name & 41 , mask, n, n_ glo, name, positive, standard_name, unit, value )42 , mask, n, n_distributed_partition, n_glo, name, positive, standard_name, unit, value ) 42 43 43 44 END SUBROUTINE xios(set_axisgroup_attr) … … 45 46 SUBROUTINE xios(set_axisgroup_attr_hdl) & 46 47 ( axisgroup_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, long_name & 47 , mask, n, n_ glo, name, positive, standard_name, unit, value )48 , mask, n, n_distributed_partition, n_glo, name, positive, standard_name, unit, value ) 48 49 49 50 IMPLICIT NONE … … 60 61 LOGICAL (KIND=C_BOOL) , ALLOCATABLE :: mask_tmp(:) 61 62 INTEGER , OPTIONAL, INTENT(IN) :: n 63 INTEGER , OPTIONAL, INTENT(IN) :: n_distributed_partition 62 64 INTEGER , OPTIONAL, INTENT(IN) :: n_glo 63 65 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name … … 69 71 CALL xios(set_axisgroup_attr_hdl_) & 70 72 ( axisgroup_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, long_name & 71 , mask, n, n_ glo, name, positive, standard_name, unit, value )73 , mask, n, n_distributed_partition, n_glo, name, positive, standard_name, unit, value ) 72 74 73 75 END SUBROUTINE xios(set_axisgroup_attr_hdl) … … 75 77 SUBROUTINE xios(set_axisgroup_attr_hdl_) & 76 78 ( axisgroup_hdl, axis_ref_, begin_, bounds_, data_begin_, data_index_, data_n_, group_ref_, long_name_ & 77 , mask_, n_, n_glo_, name_, positive_, standard_name_, unit_, value_ ) 79 , mask_, n_, n_distributed_partition_, n_glo_, name_, positive_, standard_name_, unit_, value_ & 80 ) 78 81 79 82 IMPLICIT NONE … … 90 93 LOGICAL (KIND=C_BOOL) , ALLOCATABLE :: mask__tmp(:) 91 94 INTEGER , OPTIONAL, INTENT(IN) :: n_ 95 INTEGER , OPTIONAL, INTENT(IN) :: n_distributed_partition_ 92 96 INTEGER , OPTIONAL, INTENT(IN) :: n_glo_ 93 97 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_ … … 139 143 ENDIF 140 144 145 IF (PRESENT(n_distributed_partition_)) THEN 146 CALL cxios_set_axisgroup_n_distributed_partition(axisgroup_hdl%daddr, n_distributed_partition_) 147 ENDIF 148 141 149 IF (PRESENT(n_glo_)) THEN 142 150 CALL cxios_set_axisgroup_n_glo(axisgroup_hdl%daddr, n_glo_) … … 167 175 SUBROUTINE xios(get_axisgroup_attr) & 168 176 ( axisgroup_id, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, long_name & 169 , mask, n, n_ glo, name, positive, standard_name, unit, value )177 , mask, n, n_distributed_partition, n_glo, name, positive, standard_name, unit, value ) 170 178 171 179 IMPLICIT NONE … … 183 191 LOGICAL (KIND=C_BOOL) , ALLOCATABLE :: mask_tmp(:) 184 192 INTEGER , OPTIONAL, INTENT(OUT) :: n 193 INTEGER , OPTIONAL, INTENT(OUT) :: n_distributed_partition 185 194 INTEGER , OPTIONAL, INTENT(OUT) :: n_glo 186 195 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name … … 193 202 CALL xios(get_axisgroup_attr_hdl_) & 194 203 ( axisgroup_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, long_name & 195 , mask, n, n_ glo, name, positive, standard_name, unit, value )204 , mask, n, n_distributed_partition, n_glo, name, positive, standard_name, unit, value ) 196 205 197 206 END SUBROUTINE xios(get_axisgroup_attr) … … 199 208 SUBROUTINE xios(get_axisgroup_attr_hdl) & 200 209 ( axisgroup_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, long_name & 201 , mask, n, n_ glo, name, positive, standard_name, unit, value )210 , mask, n, n_distributed_partition, n_glo, name, positive, standard_name, unit, value ) 202 211 203 212 IMPLICIT NONE … … 214 223 LOGICAL (KIND=C_BOOL) , ALLOCATABLE :: mask_tmp(:) 215 224 INTEGER , OPTIONAL, INTENT(OUT) :: n 225 INTEGER , OPTIONAL, INTENT(OUT) :: n_distributed_partition 216 226 INTEGER , OPTIONAL, INTENT(OUT) :: n_glo 217 227 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name … … 223 233 CALL xios(get_axisgroup_attr_hdl_) & 224 234 ( axisgroup_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, long_name & 225 , mask, n, n_ glo, name, positive, standard_name, unit, value )235 , mask, n, n_distributed_partition, n_glo, name, positive, standard_name, unit, value ) 226 236 227 237 END SUBROUTINE xios(get_axisgroup_attr_hdl) … … 229 239 SUBROUTINE xios(get_axisgroup_attr_hdl_) & 230 240 ( axisgroup_hdl, axis_ref_, begin_, bounds_, data_begin_, data_index_, data_n_, group_ref_, long_name_ & 231 , mask_, n_, n_glo_, name_, positive_, standard_name_, unit_, value_ ) 241 , mask_, n_, n_distributed_partition_, n_glo_, name_, positive_, standard_name_, unit_, value_ & 242 ) 232 243 233 244 IMPLICIT NONE … … 244 255 LOGICAL (KIND=C_BOOL) , ALLOCATABLE :: mask__tmp(:) 245 256 INTEGER , OPTIONAL, INTENT(OUT) :: n_ 257 INTEGER , OPTIONAL, INTENT(OUT) :: n_distributed_partition_ 246 258 INTEGER , OPTIONAL, INTENT(OUT) :: n_glo_ 247 259 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_ … … 293 305 ENDIF 294 306 307 IF (PRESENT(n_distributed_partition_)) THEN 308 CALL cxios_get_axisgroup_n_distributed_partition(axisgroup_hdl%daddr, n_distributed_partition_) 309 ENDIF 310 295 311 IF (PRESENT(n_glo_)) THEN 296 312 CALL cxios_get_axisgroup_n_glo(axisgroup_hdl%daddr, n_glo_) … … 321 337 SUBROUTINE xios(is_defined_axisgroup_attr) & 322 338 ( axisgroup_id, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, long_name & 323 , mask, n, n_ glo, name, positive, standard_name, unit, value )339 , mask, n, n_distributed_partition, n_glo, name, positive, standard_name, unit, value ) 324 340 325 341 IMPLICIT NONE … … 346 362 LOGICAL, OPTIONAL, INTENT(OUT) :: n 347 363 LOGICAL(KIND=C_BOOL) :: n_tmp 364 LOGICAL, OPTIONAL, INTENT(OUT) :: n_distributed_partition 365 LOGICAL(KIND=C_BOOL) :: n_distributed_partition_tmp 348 366 LOGICAL, OPTIONAL, INTENT(OUT) :: n_glo 349 367 LOGICAL(KIND=C_BOOL) :: n_glo_tmp … … 362 380 CALL xios(is_defined_axisgroup_attr_hdl_) & 363 381 ( axisgroup_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, long_name & 364 , mask, n, n_ glo, name, positive, standard_name, unit, value )382 , mask, n, n_distributed_partition, n_glo, name, positive, standard_name, unit, value ) 365 383 366 384 END SUBROUTINE xios(is_defined_axisgroup_attr) … … 368 386 SUBROUTINE xios(is_defined_axisgroup_attr_hdl) & 369 387 ( axisgroup_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, long_name & 370 , mask, n, n_ glo, name, positive, standard_name, unit, value )388 , mask, n, n_distributed_partition, n_glo, name, positive, standard_name, unit, value ) 371 389 372 390 IMPLICIT NONE … … 392 410 LOGICAL, OPTIONAL, INTENT(OUT) :: n 393 411 LOGICAL(KIND=C_BOOL) :: n_tmp 412 LOGICAL, OPTIONAL, INTENT(OUT) :: n_distributed_partition 413 LOGICAL(KIND=C_BOOL) :: n_distributed_partition_tmp 394 414 LOGICAL, OPTIONAL, INTENT(OUT) :: n_glo 395 415 LOGICAL(KIND=C_BOOL) :: n_glo_tmp … … 407 427 CALL xios(is_defined_axisgroup_attr_hdl_) & 408 428 ( axisgroup_hdl, axis_ref, begin, bounds, data_begin, data_index, data_n, group_ref, long_name & 409 , mask, n, n_ glo, name, positive, standard_name, unit, value )429 , mask, n, n_distributed_partition, n_glo, name, positive, standard_name, unit, value ) 410 430 411 431 END SUBROUTINE xios(is_defined_axisgroup_attr_hdl) … … 413 433 SUBROUTINE xios(is_defined_axisgroup_attr_hdl_) & 414 434 ( axisgroup_hdl, axis_ref_, begin_, bounds_, data_begin_, data_index_, data_n_, group_ref_, long_name_ & 415 , mask_, n_, n_glo_, name_, positive_, standard_name_, unit_, value_ ) 435 , mask_, n_, n_distributed_partition_, n_glo_, name_, positive_, standard_name_, unit_, value_ & 436 ) 416 437 417 438 IMPLICIT NONE … … 437 458 LOGICAL, OPTIONAL, INTENT(OUT) :: n_ 438 459 LOGICAL(KIND=C_BOOL) :: n__tmp 460 LOGICAL, OPTIONAL, INTENT(OUT) :: n_distributed_partition_ 461 LOGICAL(KIND=C_BOOL) :: n_distributed_partition__tmp 439 462 LOGICAL, OPTIONAL, INTENT(OUT) :: n_glo_ 440 463 LOGICAL(KIND=C_BOOL) :: n_glo__tmp … … 500 523 ENDIF 501 524 525 IF (PRESENT(n_distributed_partition_)) THEN 526 n_distributed_partition__tmp = cxios_is_defined_axisgroup_n_distributed_partition(axisgroup_hdl%daddr) 527 n_distributed_partition_ = n_distributed_partition__tmp 528 ENDIF 529 502 530 IF (PRESENT(n_glo_)) THEN 503 531 n_glo__tmp = cxios_is_defined_axisgroup_n_glo(axisgroup_hdl%daddr) -
XIOS/trunk/src/interface/fortran_attr/ifile_attr.F90
r711 r779 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, time_counter&16 , time series, ts_prefix, type )15 , output_freq, output_level, par_access, record_offset, split_freq, split_freq_format, sync_freq & 16 , time_counter, timeseries, ts_prefix, type ) 17 17 18 18 IMPLICIT NONE … … 33 33 INTEGER , OPTIONAL, INTENT(IN) :: output_level 34 34 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access 35 INTEGER , OPTIONAL, INTENT(IN) :: record_offset 35 36 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: split_freq 36 37 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format … … 44 45 CALL xios(set_file_attr_hdl_) & 45 46 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 46 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq&47 , time_counter, timeseries, ts_prefix, type )47 , name_suffix, output_freq, output_level, par_access, record_offset, split_freq, split_freq_format & 48 , sync_freq, time_counter, timeseries, ts_prefix, type ) 48 49 49 50 END SUBROUTINE xios(set_file_attr) … … 51 52 SUBROUTINE xios(set_file_attr_hdl) & 52 53 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 53 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq&54 , time_counter, timeseries, ts_prefix, type )54 , name_suffix, output_freq, output_level, par_access, record_offset, split_freq, split_freq_format & 55 , sync_freq, time_counter, timeseries, ts_prefix, type ) 55 56 56 57 IMPLICIT NONE … … 70 71 INTEGER , OPTIONAL, INTENT(IN) :: output_level 71 72 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access 73 INTEGER , OPTIONAL, INTENT(IN) :: record_offset 72 74 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: split_freq 73 75 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format … … 80 82 CALL xios(set_file_attr_hdl_) & 81 83 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 82 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq&83 , time_counter, timeseries, ts_prefix, type )84 , name_suffix, output_freq, output_level, par_access, record_offset, split_freq, split_freq_format & 85 , sync_freq, time_counter, timeseries, ts_prefix, type ) 84 86 85 87 END SUBROUTINE xios(set_file_attr_hdl) … … 87 89 SUBROUTINE xios(set_file_attr_hdl_) & 88 90 ( file_hdl, append_, compression_level_, description_, enabled_, format_, min_digits_, mode_ & 89 , name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_ &90 , s ync_freq_, time_counter_, timeseries_, ts_prefix_, type_ )91 , name_, name_suffix_, output_freq_, output_level_, par_access_, record_offset_, split_freq_ & 92 , split_freq_format_, sync_freq_, time_counter_, timeseries_, ts_prefix_, type_ ) 91 93 92 94 IMPLICIT NONE … … 106 108 INTEGER , OPTIONAL, INTENT(IN) :: output_level_ 107 109 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access_ 110 INTEGER , OPTIONAL, INTENT(IN) :: record_offset_ 108 111 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: split_freq_ 109 112 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format_ … … 164 167 ENDIF 165 168 169 IF (PRESENT(record_offset_)) THEN 170 CALL cxios_set_file_record_offset(file_hdl%daddr, record_offset_) 171 ENDIF 172 166 173 IF (PRESENT(split_freq_)) THEN 167 174 CALL cxios_set_file_split_freq(file_hdl%daddr, split_freq_) … … 196 203 SUBROUTINE xios(get_file_attr) & 197 204 ( file_id, append, compression_level, description, enabled, format, min_digits, mode, name, name_suffix & 198 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter&199 , time series, ts_prefix, type )205 , output_freq, output_level, par_access, record_offset, split_freq, split_freq_format, sync_freq & 206 , time_counter, timeseries, ts_prefix, type ) 200 207 201 208 IMPLICIT NONE … … 216 223 INTEGER , OPTIONAL, INTENT(OUT) :: output_level 217 224 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access 225 INTEGER , OPTIONAL, INTENT(OUT) :: record_offset 218 226 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: split_freq 219 227 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format … … 227 235 CALL xios(get_file_attr_hdl_) & 228 236 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 229 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq&230 , time_counter, timeseries, ts_prefix, type )237 , name_suffix, output_freq, output_level, par_access, record_offset, split_freq, split_freq_format & 238 , sync_freq, time_counter, timeseries, ts_prefix, type ) 231 239 232 240 END SUBROUTINE xios(get_file_attr) … … 234 242 SUBROUTINE xios(get_file_attr_hdl) & 235 243 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 236 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq&237 , time_counter, timeseries, ts_prefix, type )244 , name_suffix, output_freq, output_level, par_access, record_offset, split_freq, split_freq_format & 245 , sync_freq, time_counter, timeseries, ts_prefix, type ) 238 246 239 247 IMPLICIT NONE … … 253 261 INTEGER , OPTIONAL, INTENT(OUT) :: output_level 254 262 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access 263 INTEGER , OPTIONAL, INTENT(OUT) :: record_offset 255 264 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: split_freq 256 265 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format … … 263 272 CALL xios(get_file_attr_hdl_) & 264 273 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 265 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq&266 , time_counter, timeseries, ts_prefix, type )274 , name_suffix, output_freq, output_level, par_access, record_offset, split_freq, split_freq_format & 275 , sync_freq, time_counter, timeseries, ts_prefix, type ) 267 276 268 277 END SUBROUTINE xios(get_file_attr_hdl) … … 270 279 SUBROUTINE xios(get_file_attr_hdl_) & 271 280 ( file_hdl, append_, compression_level_, description_, enabled_, format_, min_digits_, mode_ & 272 , name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_ &273 , s ync_freq_, time_counter_, timeseries_, ts_prefix_, type_ )281 , name_, name_suffix_, output_freq_, output_level_, par_access_, record_offset_, split_freq_ & 282 , split_freq_format_, sync_freq_, time_counter_, timeseries_, ts_prefix_, type_ ) 274 283 275 284 IMPLICIT NONE … … 289 298 INTEGER , OPTIONAL, INTENT(OUT) :: output_level_ 290 299 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access_ 300 INTEGER , OPTIONAL, INTENT(OUT) :: record_offset_ 291 301 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: split_freq_ 292 302 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format_ … … 347 357 ENDIF 348 358 359 IF (PRESENT(record_offset_)) THEN 360 CALL cxios_get_file_record_offset(file_hdl%daddr, record_offset_) 361 ENDIF 362 349 363 IF (PRESENT(split_freq_)) THEN 350 364 CALL cxios_get_file_split_freq(file_hdl%daddr, split_freq_) … … 379 393 SUBROUTINE xios(is_defined_file_attr) & 380 394 ( file_id, append, compression_level, description, enabled, format, min_digits, mode, name, name_suffix & 381 , output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq, time_counter&382 , time series, ts_prefix, type )395 , output_freq, output_level, par_access, record_offset, split_freq, split_freq_format, sync_freq & 396 , time_counter, timeseries, ts_prefix, type ) 383 397 384 398 IMPLICIT NONE … … 409 423 LOGICAL, OPTIONAL, INTENT(OUT) :: par_access 410 424 LOGICAL(KIND=C_BOOL) :: par_access_tmp 425 LOGICAL, OPTIONAL, INTENT(OUT) :: record_offset 426 LOGICAL(KIND=C_BOOL) :: record_offset_tmp 411 427 LOGICAL, OPTIONAL, INTENT(OUT) :: split_freq 412 428 LOGICAL(KIND=C_BOOL) :: split_freq_tmp … … 427 443 CALL xios(is_defined_file_attr_hdl_) & 428 444 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 429 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq&430 , time_counter, timeseries, ts_prefix, type )445 , name_suffix, output_freq, output_level, par_access, record_offset, split_freq, split_freq_format & 446 , sync_freq, time_counter, timeseries, ts_prefix, type ) 431 447 432 448 END SUBROUTINE xios(is_defined_file_attr) … … 434 450 SUBROUTINE xios(is_defined_file_attr_hdl) & 435 451 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 436 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq&437 , time_counter, timeseries, ts_prefix, type )452 , name_suffix, output_freq, output_level, par_access, record_offset, split_freq, split_freq_format & 453 , sync_freq, time_counter, timeseries, ts_prefix, type ) 438 454 439 455 IMPLICIT NONE … … 463 479 LOGICAL, OPTIONAL, INTENT(OUT) :: par_access 464 480 LOGICAL(KIND=C_BOOL) :: par_access_tmp 481 LOGICAL, OPTIONAL, INTENT(OUT) :: record_offset 482 LOGICAL(KIND=C_BOOL) :: record_offset_tmp 465 483 LOGICAL, OPTIONAL, INTENT(OUT) :: split_freq 466 484 LOGICAL(KIND=C_BOOL) :: split_freq_tmp … … 480 498 CALL xios(is_defined_file_attr_hdl_) & 481 499 ( file_hdl, append, compression_level, description, enabled, format, min_digits, mode, name & 482 , name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format, sync_freq&483 , time_counter, timeseries, ts_prefix, type )500 , name_suffix, output_freq, output_level, par_access, record_offset, split_freq, split_freq_format & 501 , sync_freq, time_counter, timeseries, ts_prefix, type ) 484 502 485 503 END SUBROUTINE xios(is_defined_file_attr_hdl) … … 487 505 SUBROUTINE xios(is_defined_file_attr_hdl_) & 488 506 ( file_hdl, append_, compression_level_, description_, enabled_, format_, min_digits_, mode_ & 489 , name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_ &490 , s ync_freq_, time_counter_, timeseries_, ts_prefix_, type_ )507 , name_, name_suffix_, output_freq_, output_level_, par_access_, record_offset_, split_freq_ & 508 , split_freq_format_, sync_freq_, time_counter_, timeseries_, ts_prefix_, type_ ) 491 509 492 510 IMPLICIT NONE … … 516 534 LOGICAL, OPTIONAL, INTENT(OUT) :: par_access_ 517 535 LOGICAL(KIND=C_BOOL) :: par_access__tmp 536 LOGICAL, OPTIONAL, INTENT(OUT) :: record_offset_ 537 LOGICAL(KIND=C_BOOL) :: record_offset__tmp 518 538 LOGICAL, OPTIONAL, INTENT(OUT) :: split_freq_ 519 539 LOGICAL(KIND=C_BOOL) :: split_freq__tmp … … 591 611 ENDIF 592 612 613 IF (PRESENT(record_offset_)) THEN 614 record_offset__tmp = cxios_is_defined_file_record_offset(file_hdl%daddr) 615 record_offset_ = record_offset__tmp 616 ENDIF 617 593 618 IF (PRESENT(split_freq_)) THEN 594 619 split_freq__tmp = cxios_is_defined_file_split_freq(file_hdl%daddr) -
XIOS/trunk/src/interface/fortran_attr/ifilegroup_attr.F90
r711 r779 13 13 SUBROUTINE xios(set_filegroup_attr) & 14 14 ( filegroup_id, append, compression_level, description, enabled, format, group_ref, min_digits & 15 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format&16 , s ync_freq, time_counter, timeseries, ts_prefix, type )15 , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq & 16 , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 17 17 18 18 IMPLICIT NONE … … 34 34 INTEGER , OPTIONAL, INTENT(IN) :: output_level 35 35 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access 36 INTEGER , OPTIONAL, INTENT(IN) :: record_offset 36 37 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: split_freq 37 38 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format … … 45 46 CALL xios(set_filegroup_attr_hdl_) & 46 47 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 47 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format&48 , s ync_freq, time_counter, timeseries, ts_prefix, type )48 , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq & 49 , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 49 50 50 51 END SUBROUTINE xios(set_filegroup_attr) … … 52 53 SUBROUTINE xios(set_filegroup_attr_hdl) & 53 54 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 54 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format&55 , s ync_freq, time_counter, timeseries, ts_prefix, type )55 , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq & 56 , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 56 57 57 58 IMPLICIT NONE … … 72 73 INTEGER , OPTIONAL, INTENT(IN) :: output_level 73 74 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access 75 INTEGER , OPTIONAL, INTENT(IN) :: record_offset 74 76 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: split_freq 75 77 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format … … 82 84 CALL xios(set_filegroup_attr_hdl_) & 83 85 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 84 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format&85 , s ync_freq, time_counter, timeseries, ts_prefix, type )86 , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq & 87 , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 86 88 87 89 END SUBROUTINE xios(set_filegroup_attr_hdl) … … 89 91 SUBROUTINE xios(set_filegroup_attr_hdl_) & 90 92 ( filegroup_hdl, append_, compression_level_, description_, enabled_, format_, group_ref_, min_digits_ & 91 , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_ &92 , s ync_freq_, time_counter_, timeseries_, ts_prefix_, type_ )93 , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, record_offset_, split_freq_ & 94 , split_freq_format_, sync_freq_, time_counter_, timeseries_, ts_prefix_, type_ ) 93 95 94 96 IMPLICIT NONE … … 109 111 INTEGER , OPTIONAL, INTENT(IN) :: output_level_ 110 112 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access_ 113 INTEGER , OPTIONAL, INTENT(IN) :: record_offset_ 111 114 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: split_freq_ 112 115 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format_ … … 171 174 ENDIF 172 175 176 IF (PRESENT(record_offset_)) THEN 177 CALL cxios_set_filegroup_record_offset(filegroup_hdl%daddr, record_offset_) 178 ENDIF 179 173 180 IF (PRESENT(split_freq_)) THEN 174 181 CALL cxios_set_filegroup_split_freq(filegroup_hdl%daddr, split_freq_) … … 203 210 SUBROUTINE xios(get_filegroup_attr) & 204 211 ( filegroup_id, append, compression_level, description, enabled, format, group_ref, min_digits & 205 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format&206 , s ync_freq, time_counter, timeseries, ts_prefix, type )212 , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq & 213 , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 207 214 208 215 IMPLICIT NONE … … 224 231 INTEGER , OPTIONAL, INTENT(OUT) :: output_level 225 232 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access 233 INTEGER , OPTIONAL, INTENT(OUT) :: record_offset 226 234 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: split_freq 227 235 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format … … 235 243 CALL xios(get_filegroup_attr_hdl_) & 236 244 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 237 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format&238 , s ync_freq, time_counter, timeseries, ts_prefix, type )245 , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq & 246 , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 239 247 240 248 END SUBROUTINE xios(get_filegroup_attr) … … 242 250 SUBROUTINE xios(get_filegroup_attr_hdl) & 243 251 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 244 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format&245 , s ync_freq, time_counter, timeseries, ts_prefix, type )252 , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq & 253 , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 246 254 247 255 IMPLICIT NONE … … 262 270 INTEGER , OPTIONAL, INTENT(OUT) :: output_level 263 271 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access 272 INTEGER , OPTIONAL, INTENT(OUT) :: record_offset 264 273 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: split_freq 265 274 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format … … 272 281 CALL xios(get_filegroup_attr_hdl_) & 273 282 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 274 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format&275 , s ync_freq, time_counter, timeseries, ts_prefix, type )283 , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq & 284 , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 276 285 277 286 END SUBROUTINE xios(get_filegroup_attr_hdl) … … 279 288 SUBROUTINE xios(get_filegroup_attr_hdl_) & 280 289 ( filegroup_hdl, append_, compression_level_, description_, enabled_, format_, group_ref_, min_digits_ & 281 , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_ &282 , s ync_freq_, time_counter_, timeseries_, ts_prefix_, type_ )290 , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, record_offset_, split_freq_ & 291 , split_freq_format_, sync_freq_, time_counter_, timeseries_, ts_prefix_, type_ ) 283 292 284 293 IMPLICIT NONE … … 299 308 INTEGER , OPTIONAL, INTENT(OUT) :: output_level_ 300 309 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access_ 310 INTEGER , OPTIONAL, INTENT(OUT) :: record_offset_ 301 311 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: split_freq_ 302 312 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format_ … … 361 371 ENDIF 362 372 373 IF (PRESENT(record_offset_)) THEN 374 CALL cxios_get_filegroup_record_offset(filegroup_hdl%daddr, record_offset_) 375 ENDIF 376 363 377 IF (PRESENT(split_freq_)) THEN 364 378 CALL cxios_get_filegroup_split_freq(filegroup_hdl%daddr, split_freq_) … … 393 407 SUBROUTINE xios(is_defined_filegroup_attr) & 394 408 ( filegroup_id, append, compression_level, description, enabled, format, group_ref, min_digits & 395 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format&396 , s ync_freq, time_counter, timeseries, ts_prefix, type )409 , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq & 410 , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 397 411 398 412 IMPLICIT NONE … … 425 439 LOGICAL, OPTIONAL, INTENT(OUT) :: par_access 426 440 LOGICAL(KIND=C_BOOL) :: par_access_tmp 441 LOGICAL, OPTIONAL, INTENT(OUT) :: record_offset 442 LOGICAL(KIND=C_BOOL) :: record_offset_tmp 427 443 LOGICAL, OPTIONAL, INTENT(OUT) :: split_freq 428 444 LOGICAL(KIND=C_BOOL) :: split_freq_tmp … … 443 459 CALL xios(is_defined_filegroup_attr_hdl_) & 444 460 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 445 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format&446 , s ync_freq, time_counter, timeseries, ts_prefix, type )461 , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq & 462 , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 447 463 448 464 END SUBROUTINE xios(is_defined_filegroup_attr) … … 450 466 SUBROUTINE xios(is_defined_filegroup_attr_hdl) & 451 467 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 452 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format&453 , s ync_freq, time_counter, timeseries, ts_prefix, type )468 , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq & 469 , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 454 470 455 471 IMPLICIT NONE … … 481 497 LOGICAL, OPTIONAL, INTENT(OUT) :: par_access 482 498 LOGICAL(KIND=C_BOOL) :: par_access_tmp 499 LOGICAL, OPTIONAL, INTENT(OUT) :: record_offset 500 LOGICAL(KIND=C_BOOL) :: record_offset_tmp 483 501 LOGICAL, OPTIONAL, INTENT(OUT) :: split_freq 484 502 LOGICAL(KIND=C_BOOL) :: split_freq_tmp … … 498 516 CALL xios(is_defined_filegroup_attr_hdl_) & 499 517 ( filegroup_hdl, append, compression_level, description, enabled, format, group_ref, min_digits & 500 , mode, name, name_suffix, output_freq, output_level, par_access, split_freq, split_freq_format&501 , s ync_freq, time_counter, timeseries, ts_prefix, type )518 , mode, name, name_suffix, output_freq, output_level, par_access, record_offset, split_freq & 519 , split_freq_format, sync_freq, time_counter, timeseries, ts_prefix, type ) 502 520 503 521 END SUBROUTINE xios(is_defined_filegroup_attr_hdl) … … 505 523 SUBROUTINE xios(is_defined_filegroup_attr_hdl_) & 506 524 ( filegroup_hdl, append_, compression_level_, description_, enabled_, format_, group_ref_, min_digits_ & 507 , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, split_freq_, split_freq_format_ &508 , s ync_freq_, time_counter_, timeseries_, ts_prefix_, type_ )525 , mode_, name_, name_suffix_, output_freq_, output_level_, par_access_, record_offset_, split_freq_ & 526 , split_freq_format_, sync_freq_, time_counter_, timeseries_, ts_prefix_, type_ ) 509 527 510 528 IMPLICIT NONE … … 536 554 LOGICAL, OPTIONAL, INTENT(OUT) :: par_access_ 537 555 LOGICAL(KIND=C_BOOL) :: par_access__tmp 556 LOGICAL, OPTIONAL, INTENT(OUT) :: record_offset_ 557 LOGICAL(KIND=C_BOOL) :: record_offset__tmp 538 558 LOGICAL, OPTIONAL, INTENT(OUT) :: split_freq_ 539 559 LOGICAL(KIND=C_BOOL) :: split_freq__tmp … … 616 636 ENDIF 617 637 638 IF (PRESENT(record_offset_)) THEN 639 record_offset__tmp = cxios_is_defined_filegroup_record_offset(filegroup_hdl%daddr) 640 record_offset_ = record_offset__tmp 641 ENDIF 642 618 643 IF (PRESENT(split_freq_)) THEN 619 644 split_freq__tmp = cxios_is_defined_filegroup_split_freq(filegroup_hdl%daddr)
Note: See TracChangeset
for help on using the changeset viewer.