Changeset 538 for XIOS/trunk/src/interface/fortran_attr
- Timestamp:
- 12/11/14 16:07:42 (10 years ago)
- Location:
- XIOS/trunk/src/interface/fortran_attr
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/fortran_attr/field_interface_attr.F90
r532 r538 149 149 150 150 151 SUBROUTINE cxios_set_field_freq_offset(field_hdl, freq_offset , freq_offset_size) BIND(C)152 USE ISO_C_BINDING 153 INTEGER (kind = C_INTPTR_T), VALUE :: field_hdl154 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: freq_offset155 INTEGER (kind = C_INT) , VALUE :: freq_offset_size151 SUBROUTINE cxios_set_field_freq_offset(field_hdl, freq_offset) BIND(C) 152 USE ISO_C_BINDING 153 USE IDATE 154 INTEGER (kind = C_INTPTR_T), VALUE :: field_hdl 155 TYPE(txios(duration)), VALUE :: freq_offset 156 156 END SUBROUTINE cxios_set_field_freq_offset 157 157 158 SUBROUTINE cxios_get_field_freq_offset(field_hdl, freq_offset , freq_offset_size) BIND(C)159 USE ISO_C_BINDING 160 INTEGER (kind = C_INTPTR_T), VALUE :: field_hdl161 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: freq_offset162 INTEGER (kind = C_INT) , VALUE :: freq_offset_size158 SUBROUTINE cxios_get_field_freq_offset(field_hdl, freq_offset) BIND(C) 159 USE ISO_C_BINDING 160 USE IDATE 161 INTEGER (kind = C_INTPTR_T), VALUE :: field_hdl 162 TYPE(txios(duration)) :: freq_offset 163 163 END SUBROUTINE cxios_get_field_freq_offset 164 164 … … 170 170 171 171 172 SUBROUTINE cxios_set_field_freq_op(field_hdl, freq_op , freq_op_size) BIND(C)173 USE ISO_C_BINDING 174 INTEGER (kind = C_INTPTR_T), VALUE :: field_hdl175 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: freq_op176 INTEGER (kind = C_INT) , VALUE :: freq_op_size172 SUBROUTINE cxios_set_field_freq_op(field_hdl, freq_op) BIND(C) 173 USE ISO_C_BINDING 174 USE IDATE 175 INTEGER (kind = C_INTPTR_T), VALUE :: field_hdl 176 TYPE(txios(duration)), VALUE :: freq_op 177 177 END SUBROUTINE cxios_set_field_freq_op 178 178 179 SUBROUTINE cxios_get_field_freq_op(field_hdl, freq_op , freq_op_size) BIND(C)180 USE ISO_C_BINDING 181 INTEGER (kind = C_INTPTR_T), VALUE :: field_hdl182 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: freq_op183 INTEGER (kind = C_INT) , VALUE :: freq_op_size179 SUBROUTINE cxios_get_field_freq_op(field_hdl, freq_op) BIND(C) 180 USE ISO_C_BINDING 181 USE IDATE 182 INTEGER (kind = C_INTPTR_T), VALUE :: field_hdl 183 TYPE(txios(duration)) :: freq_op 184 184 END SUBROUTINE cxios_get_field_freq_op 185 185 -
XIOS/trunk/src/interface/fortran_attr/fieldgroup_interface_attr.F90
r532 r538 149 149 150 150 151 SUBROUTINE cxios_set_fieldgroup_freq_offset(fieldgroup_hdl, freq_offset , freq_offset_size) BIND(C)152 USE ISO_C_BINDING 153 INTEGER (kind = C_INTPTR_T), VALUE :: fieldgroup_hdl154 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: freq_offset155 INTEGER (kind = C_INT) , VALUE :: freq_offset_size151 SUBROUTINE cxios_set_fieldgroup_freq_offset(fieldgroup_hdl, freq_offset) BIND(C) 152 USE ISO_C_BINDING 153 USE IDATE 154 INTEGER (kind = C_INTPTR_T), VALUE :: fieldgroup_hdl 155 TYPE(txios(duration)), VALUE :: freq_offset 156 156 END SUBROUTINE cxios_set_fieldgroup_freq_offset 157 157 158 SUBROUTINE cxios_get_fieldgroup_freq_offset(fieldgroup_hdl, freq_offset , freq_offset_size) BIND(C)159 USE ISO_C_BINDING 160 INTEGER (kind = C_INTPTR_T), VALUE :: fieldgroup_hdl161 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: freq_offset162 INTEGER (kind = C_INT) , VALUE :: freq_offset_size158 SUBROUTINE cxios_get_fieldgroup_freq_offset(fieldgroup_hdl, freq_offset) BIND(C) 159 USE ISO_C_BINDING 160 USE IDATE 161 INTEGER (kind = C_INTPTR_T), VALUE :: fieldgroup_hdl 162 TYPE(txios(duration)) :: freq_offset 163 163 END SUBROUTINE cxios_get_fieldgroup_freq_offset 164 164 … … 170 170 171 171 172 SUBROUTINE cxios_set_fieldgroup_freq_op(fieldgroup_hdl, freq_op , freq_op_size) BIND(C)173 USE ISO_C_BINDING 174 INTEGER (kind = C_INTPTR_T), VALUE :: fieldgroup_hdl175 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: freq_op176 INTEGER (kind = C_INT) , VALUE :: freq_op_size172 SUBROUTINE cxios_set_fieldgroup_freq_op(fieldgroup_hdl, freq_op) BIND(C) 173 USE ISO_C_BINDING 174 USE IDATE 175 INTEGER (kind = C_INTPTR_T), VALUE :: fieldgroup_hdl 176 TYPE(txios(duration)), VALUE :: freq_op 177 177 END SUBROUTINE cxios_set_fieldgroup_freq_op 178 178 179 SUBROUTINE cxios_get_fieldgroup_freq_op(fieldgroup_hdl, freq_op , freq_op_size) BIND(C)180 USE ISO_C_BINDING 181 INTEGER (kind = C_INTPTR_T), VALUE :: fieldgroup_hdl182 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: freq_op183 INTEGER (kind = C_INT) , VALUE :: freq_op_size179 SUBROUTINE cxios_get_fieldgroup_freq_op(fieldgroup_hdl, freq_op) BIND(C) 180 USE ISO_C_BINDING 181 USE IDATE 182 INTEGER (kind = C_INTPTR_T), VALUE :: fieldgroup_hdl 183 TYPE(txios(duration)) :: freq_op 184 184 END SUBROUTINE cxios_get_fieldgroup_freq_op 185 185 -
XIOS/trunk/src/interface/fortran_attr/file_interface_attr.F90
r532 r538 151 151 152 152 153 SUBROUTINE cxios_set_file_output_freq(file_hdl, output_freq , output_freq_size) BIND(C)154 USE ISO_C_BINDING 155 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl156 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: output_freq157 INTEGER (kind = C_INT) , VALUE :: output_freq_size153 SUBROUTINE cxios_set_file_output_freq(file_hdl, output_freq) BIND(C) 154 USE ISO_C_BINDING 155 USE IDATE 156 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 157 TYPE(txios(duration)), VALUE :: output_freq 158 158 END SUBROUTINE cxios_set_file_output_freq 159 159 160 SUBROUTINE cxios_get_file_output_freq(file_hdl, output_freq , output_freq_size) BIND(C)161 USE ISO_C_BINDING 162 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl163 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: output_freq164 INTEGER (kind = C_INT) , VALUE :: output_freq_size160 SUBROUTINE cxios_get_file_output_freq(file_hdl, output_freq) BIND(C) 161 USE ISO_C_BINDING 162 USE IDATE 163 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 164 TYPE(txios(duration)) :: output_freq 165 165 END SUBROUTINE cxios_get_file_output_freq 166 166 … … 212 212 213 213 214 SUBROUTINE cxios_set_file_split_freq(file_hdl, split_freq , split_freq_size) BIND(C)215 USE ISO_C_BINDING 216 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl217 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: split_freq218 INTEGER (kind = C_INT) , VALUE :: split_freq_size214 SUBROUTINE cxios_set_file_split_freq(file_hdl, split_freq) BIND(C) 215 USE ISO_C_BINDING 216 USE IDATE 217 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 218 TYPE(txios(duration)), VALUE :: split_freq 219 219 END SUBROUTINE cxios_set_file_split_freq 220 220 221 SUBROUTINE cxios_get_file_split_freq(file_hdl, split_freq , split_freq_size) BIND(C)222 USE ISO_C_BINDING 223 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl224 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: split_freq225 INTEGER (kind = C_INT) , VALUE :: split_freq_size221 SUBROUTINE cxios_get_file_split_freq(file_hdl, split_freq) BIND(C) 222 USE ISO_C_BINDING 223 USE IDATE 224 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 225 TYPE(txios(duration)) :: split_freq 226 226 END SUBROUTINE cxios_get_file_split_freq 227 227 … … 254 254 255 255 256 SUBROUTINE cxios_set_file_sync_freq(file_hdl, sync_freq , sync_freq_size) BIND(C)257 USE ISO_C_BINDING 258 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl259 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: sync_freq260 INTEGER (kind = C_INT) , VALUE :: sync_freq_size256 SUBROUTINE cxios_set_file_sync_freq(file_hdl, sync_freq) BIND(C) 257 USE ISO_C_BINDING 258 USE IDATE 259 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 260 TYPE(txios(duration)), VALUE :: sync_freq 261 261 END SUBROUTINE cxios_set_file_sync_freq 262 262 263 SUBROUTINE cxios_get_file_sync_freq(file_hdl, sync_freq , sync_freq_size) BIND(C)264 USE ISO_C_BINDING 265 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl266 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: sync_freq267 INTEGER (kind = C_INT) , VALUE :: sync_freq_size263 SUBROUTINE cxios_get_file_sync_freq(file_hdl, sync_freq) BIND(C) 264 USE ISO_C_BINDING 265 USE IDATE 266 INTEGER (kind = C_INTPTR_T), VALUE :: file_hdl 267 TYPE(txios(duration)) :: sync_freq 268 268 END SUBROUTINE cxios_get_file_sync_freq 269 269 -
XIOS/trunk/src/interface/fortran_attr/filegroup_interface_attr.F90
r532 r538 172 172 173 173 174 SUBROUTINE cxios_set_filegroup_output_freq(filegroup_hdl, output_freq , output_freq_size) BIND(C)175 USE ISO_C_BINDING 176 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl177 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: output_freq178 INTEGER (kind = C_INT) , VALUE :: output_freq_size174 SUBROUTINE cxios_set_filegroup_output_freq(filegroup_hdl, output_freq) BIND(C) 175 USE ISO_C_BINDING 176 USE IDATE 177 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 178 TYPE(txios(duration)), VALUE :: output_freq 179 179 END SUBROUTINE cxios_set_filegroup_output_freq 180 180 181 SUBROUTINE cxios_get_filegroup_output_freq(filegroup_hdl, output_freq , output_freq_size) BIND(C)182 USE ISO_C_BINDING 183 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl184 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: output_freq185 INTEGER (kind = C_INT) , VALUE :: output_freq_size181 SUBROUTINE cxios_get_filegroup_output_freq(filegroup_hdl, output_freq) BIND(C) 182 USE ISO_C_BINDING 183 USE IDATE 184 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 185 TYPE(txios(duration)) :: output_freq 186 186 END SUBROUTINE cxios_get_filegroup_output_freq 187 187 … … 233 233 234 234 235 SUBROUTINE cxios_set_filegroup_split_freq(filegroup_hdl, split_freq , split_freq_size) BIND(C)236 USE ISO_C_BINDING 237 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl238 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: split_freq239 INTEGER (kind = C_INT) , VALUE :: split_freq_size235 SUBROUTINE cxios_set_filegroup_split_freq(filegroup_hdl, split_freq) BIND(C) 236 USE ISO_C_BINDING 237 USE IDATE 238 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 239 TYPE(txios(duration)), VALUE :: split_freq 240 240 END SUBROUTINE cxios_set_filegroup_split_freq 241 241 242 SUBROUTINE cxios_get_filegroup_split_freq(filegroup_hdl, split_freq , split_freq_size) BIND(C)243 USE ISO_C_BINDING 244 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl245 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: split_freq246 INTEGER (kind = C_INT) , VALUE :: split_freq_size242 SUBROUTINE cxios_get_filegroup_split_freq(filegroup_hdl, split_freq) BIND(C) 243 USE ISO_C_BINDING 244 USE IDATE 245 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 246 TYPE(txios(duration)) :: split_freq 247 247 END SUBROUTINE cxios_get_filegroup_split_freq 248 248 … … 275 275 276 276 277 SUBROUTINE cxios_set_filegroup_sync_freq(filegroup_hdl, sync_freq , sync_freq_size) BIND(C)278 USE ISO_C_BINDING 279 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl280 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: sync_freq281 INTEGER (kind = C_INT) , VALUE :: sync_freq_size277 SUBROUTINE cxios_set_filegroup_sync_freq(filegroup_hdl, sync_freq) BIND(C) 278 USE ISO_C_BINDING 279 USE IDATE 280 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 281 TYPE(txios(duration)), VALUE :: sync_freq 282 282 END SUBROUTINE cxios_set_filegroup_sync_freq 283 283 284 SUBROUTINE cxios_get_filegroup_sync_freq(filegroup_hdl, sync_freq , sync_freq_size) BIND(C)285 USE ISO_C_BINDING 286 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl287 CHARACTER(kind = C_CHAR) , DIMENSION(*) :: sync_freq288 INTEGER (kind = C_INT) , VALUE :: sync_freq_size284 SUBROUTINE cxios_get_filegroup_sync_freq(filegroup_hdl, sync_freq) BIND(C) 285 USE ISO_C_BINDING 286 USE IDATE 287 INTEGER (kind = C_INTPTR_T), VALUE :: filegroup_hdl 288 TYPE(txios(duration)) :: sync_freq 289 289 END SUBROUTINE cxios_get_filegroup_sync_freq 290 290 -
XIOS/trunk/src/interface/fortran_attr/ifield_attr.F90
r501 r538 28 28 LOGICAL (KIND=C_BOOL) :: enabled_tmp 29 29 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: field_ref 30 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: freq_offset31 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: freq_op30 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: freq_offset 31 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: freq_op 32 32 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: grid_ref 33 33 INTEGER , OPTIONAL, INTENT(IN) :: level … … 66 66 LOGICAL (KIND=C_BOOL) :: enabled_tmp 67 67 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: field_ref 68 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: freq_offset69 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: freq_op68 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: freq_offset 69 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: freq_op 70 70 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: grid_ref 71 71 INTEGER , OPTIONAL, INTENT(IN) :: level … … 103 103 LOGICAL (KIND=C_BOOL) :: enabled__tmp 104 104 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: field_ref_ 105 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: freq_offset_106 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: freq_op_105 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: freq_offset_ 106 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: freq_op_ 107 107 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: grid_ref_ 108 108 INTEGER , OPTIONAL, INTENT(IN) :: level_ … … 148 148 149 149 IF (PRESENT(freq_offset_)) THEN 150 CALL cxios_set_field_freq_offset(field_hdl%daddr, freq_offset_ , len(freq_offset_))150 CALL cxios_set_field_freq_offset(field_hdl%daddr, freq_offset_) 151 151 ENDIF 152 152 153 153 IF (PRESENT(freq_op_)) THEN 154 CALL cxios_set_field_freq_op(field_hdl%daddr, freq_op_ , len(freq_op_))154 CALL cxios_set_field_freq_op(field_hdl%daddr, freq_op_) 155 155 ENDIF 156 156 … … 220 220 LOGICAL (KIND=C_BOOL) :: enabled_tmp 221 221 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: field_ref 222 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: freq_offset223 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: freq_op222 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: freq_offset 223 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: freq_op 224 224 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: grid_ref 225 225 INTEGER , OPTIONAL, INTENT(OUT) :: level … … 258 258 LOGICAL (KIND=C_BOOL) :: enabled_tmp 259 259 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: field_ref 260 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: freq_offset261 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: freq_op260 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: freq_offset 261 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: freq_op 262 262 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: grid_ref 263 263 INTEGER , OPTIONAL, INTENT(OUT) :: level … … 295 295 LOGICAL (KIND=C_BOOL) :: enabled__tmp 296 296 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: field_ref_ 297 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: freq_offset_298 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: freq_op_297 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: freq_offset_ 298 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: freq_op_ 299 299 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: grid_ref_ 300 300 INTEGER , OPTIONAL, INTENT(OUT) :: level_ … … 340 340 341 341 IF (PRESENT(freq_offset_)) THEN 342 CALL cxios_get_field_freq_offset(field_hdl%daddr, freq_offset_ , len(freq_offset_))342 CALL cxios_get_field_freq_offset(field_hdl%daddr, freq_offset_) 343 343 ENDIF 344 344 345 345 IF (PRESENT(freq_op_)) THEN 346 CALL cxios_get_field_freq_op(field_hdl%daddr, freq_op_ , len(freq_op_))346 CALL cxios_get_field_freq_op(field_hdl%daddr, freq_op_) 347 347 ENDIF 348 348 -
XIOS/trunk/src/interface/fortran_attr/ifieldgroup_attr.F90
r501 r538 28 28 LOGICAL (KIND=C_BOOL) :: enabled_tmp 29 29 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: field_ref 30 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: freq_offset31 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: freq_op30 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: freq_offset 31 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: freq_op 32 32 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: grid_ref 33 33 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: group_ref … … 67 67 LOGICAL (KIND=C_BOOL) :: enabled_tmp 68 68 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: field_ref 69 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: freq_offset70 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: freq_op69 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: freq_offset 70 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: freq_op 71 71 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: grid_ref 72 72 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: group_ref … … 105 105 LOGICAL (KIND=C_BOOL) :: enabled__tmp 106 106 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: field_ref_ 107 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: freq_offset_108 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: freq_op_107 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: freq_offset_ 108 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: freq_op_ 109 109 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: grid_ref_ 110 110 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: group_ref_ … … 151 151 152 152 IF (PRESENT(freq_offset_)) THEN 153 CALL cxios_set_fieldgroup_freq_offset(fieldgroup_hdl%daddr, freq_offset_ , len(freq_offset_))153 CALL cxios_set_fieldgroup_freq_offset(fieldgroup_hdl%daddr, freq_offset_) 154 154 ENDIF 155 155 156 156 IF (PRESENT(freq_op_)) THEN 157 CALL cxios_set_fieldgroup_freq_op(fieldgroup_hdl%daddr, freq_op_ , len(freq_op_))157 CALL cxios_set_fieldgroup_freq_op(fieldgroup_hdl%daddr, freq_op_) 158 158 ENDIF 159 159 … … 227 227 LOGICAL (KIND=C_BOOL) :: enabled_tmp 228 228 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: field_ref 229 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: freq_offset230 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: freq_op229 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: freq_offset 230 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: freq_op 231 231 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: grid_ref 232 232 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: group_ref … … 266 266 LOGICAL (KIND=C_BOOL) :: enabled_tmp 267 267 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: field_ref 268 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: freq_offset269 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: freq_op268 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: freq_offset 269 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: freq_op 270 270 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: grid_ref 271 271 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: group_ref … … 304 304 LOGICAL (KIND=C_BOOL) :: enabled__tmp 305 305 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: field_ref_ 306 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: freq_offset_307 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: freq_op_306 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: freq_offset_ 307 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: freq_op_ 308 308 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: grid_ref_ 309 309 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: group_ref_ … … 350 350 351 351 IF (PRESENT(freq_offset_)) THEN 352 CALL cxios_get_fieldgroup_freq_offset(fieldgroup_hdl%daddr, freq_offset_ , len(freq_offset_))352 CALL cxios_get_fieldgroup_freq_offset(fieldgroup_hdl%daddr, freq_offset_) 353 353 ENDIF 354 354 355 355 IF (PRESENT(freq_op_)) THEN 356 CALL cxios_get_fieldgroup_freq_op(fieldgroup_hdl%daddr, freq_op_ , len(freq_op_))356 CALL cxios_get_fieldgroup_freq_op(fieldgroup_hdl%daddr, freq_op_) 357 357 ENDIF 358 358 -
XIOS/trunk/src/interface/fortran_attr/ifile_attr.F90
r528 r538 27 27 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name 28 28 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_suffix 29 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: output_freq29 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: output_freq 30 30 INTEGER , OPTIONAL, INTENT(IN) :: output_level 31 31 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access 32 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: split_freq32 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: split_freq 33 33 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 34 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: sync_freq34 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: sync_freq 35 35 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 36 36 … … 57 57 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name 58 58 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_suffix 59 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: output_freq59 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: output_freq 60 60 INTEGER , OPTIONAL, INTENT(IN) :: output_level 61 61 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access 62 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: split_freq62 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: split_freq 63 63 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 64 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: sync_freq64 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: sync_freq 65 65 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 66 66 … … 86 86 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_ 87 87 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_suffix_ 88 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: output_freq_88 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: output_freq_ 89 89 INTEGER , OPTIONAL, INTENT(IN) :: output_level_ 90 90 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access_ 91 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: split_freq_91 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: split_freq_ 92 92 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format_ 93 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: sync_freq_93 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: sync_freq_ 94 94 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type_ 95 95 … … 125 125 126 126 IF (PRESENT(output_freq_)) THEN 127 CALL cxios_set_file_output_freq(file_hdl%daddr, output_freq_ , len(output_freq_))127 CALL cxios_set_file_output_freq(file_hdl%daddr, output_freq_) 128 128 ENDIF 129 129 … … 137 137 138 138 IF (PRESENT(split_freq_)) THEN 139 CALL cxios_set_file_split_freq(file_hdl%daddr, split_freq_ , len(split_freq_))139 CALL cxios_set_file_split_freq(file_hdl%daddr, split_freq_) 140 140 ENDIF 141 141 … … 145 145 146 146 IF (PRESENT(sync_freq_)) THEN 147 CALL cxios_set_file_sync_freq(file_hdl%daddr, sync_freq_ , len(sync_freq_))147 CALL cxios_set_file_sync_freq(file_hdl%daddr, sync_freq_) 148 148 ENDIF 149 149 … … 172 172 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name 173 173 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_suffix 174 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: output_freq174 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: output_freq 175 175 INTEGER , OPTIONAL, INTENT(OUT) :: output_level 176 176 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access 177 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: split_freq177 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: split_freq 178 178 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 179 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: sync_freq179 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: sync_freq 180 180 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 181 181 … … 202 202 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name 203 203 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_suffix 204 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: output_freq204 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: output_freq 205 205 INTEGER , OPTIONAL, INTENT(OUT) :: output_level 206 206 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access 207 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: split_freq207 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: split_freq 208 208 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 209 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: sync_freq209 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: sync_freq 210 210 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 211 211 … … 231 231 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_ 232 232 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_suffix_ 233 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: output_freq_233 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: output_freq_ 234 234 INTEGER , OPTIONAL, INTENT(OUT) :: output_level_ 235 235 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access_ 236 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: split_freq_236 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: split_freq_ 237 237 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format_ 238 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: sync_freq_238 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: sync_freq_ 239 239 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type_ 240 240 … … 270 270 271 271 IF (PRESENT(output_freq_)) THEN 272 CALL cxios_get_file_output_freq(file_hdl%daddr, output_freq_ , len(output_freq_))272 CALL cxios_get_file_output_freq(file_hdl%daddr, output_freq_) 273 273 ENDIF 274 274 … … 282 282 283 283 IF (PRESENT(split_freq_)) THEN 284 CALL cxios_get_file_split_freq(file_hdl%daddr, split_freq_ , len(split_freq_))284 CALL cxios_get_file_split_freq(file_hdl%daddr, split_freq_) 285 285 ENDIF 286 286 … … 290 290 291 291 IF (PRESENT(sync_freq_)) THEN 292 CALL cxios_get_file_sync_freq(file_hdl%daddr, sync_freq_ , len(sync_freq_))292 CALL cxios_get_file_sync_freq(file_hdl%daddr, sync_freq_) 293 293 ENDIF 294 294 -
XIOS/trunk/src/interface/fortran_attr/ifilegroup_attr.F90
r528 r538 28 28 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name 29 29 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_suffix 30 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: output_freq30 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: output_freq 31 31 INTEGER , OPTIONAL, INTENT(IN) :: output_level 32 32 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access 33 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: split_freq33 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: split_freq 34 34 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 35 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: sync_freq35 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: sync_freq 36 36 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 37 37 … … 59 59 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name 60 60 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_suffix 61 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: output_freq61 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: output_freq 62 62 INTEGER , OPTIONAL, INTENT(IN) :: output_level 63 63 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access 64 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: split_freq64 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: split_freq 65 65 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format 66 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: sync_freq66 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: sync_freq 67 67 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 68 68 … … 90 90 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_ 91 91 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_suffix_ 92 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: output_freq_92 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: output_freq_ 93 93 INTEGER , OPTIONAL, INTENT(IN) :: output_level_ 94 94 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access_ 95 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: split_freq_95 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: split_freq_ 96 96 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_format_ 97 CHARACTER(len = *), OPTIONAL, INTENT(IN) :: sync_freq_97 TYPE(txios(duration)) , OPTIONAL, INTENT(IN) :: sync_freq_ 98 98 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type_ 99 99 … … 133 133 134 134 IF (PRESENT(output_freq_)) THEN 135 CALL cxios_set_filegroup_output_freq(filegroup_hdl%daddr, output_freq_ , len(output_freq_))135 CALL cxios_set_filegroup_output_freq(filegroup_hdl%daddr, output_freq_) 136 136 ENDIF 137 137 … … 145 145 146 146 IF (PRESENT(split_freq_)) THEN 147 CALL cxios_set_filegroup_split_freq(filegroup_hdl%daddr, split_freq_ , len(split_freq_))147 CALL cxios_set_filegroup_split_freq(filegroup_hdl%daddr, split_freq_) 148 148 ENDIF 149 149 … … 153 153 154 154 IF (PRESENT(sync_freq_)) THEN 155 CALL cxios_set_filegroup_sync_freq(filegroup_hdl%daddr, sync_freq_ , len(sync_freq_))155 CALL cxios_set_filegroup_sync_freq(filegroup_hdl%daddr, sync_freq_) 156 156 ENDIF 157 157 … … 181 181 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name 182 182 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_suffix 183 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: output_freq183 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: output_freq 184 184 INTEGER , OPTIONAL, INTENT(OUT) :: output_level 185 185 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access 186 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: split_freq186 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: split_freq 187 187 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 188 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: sync_freq188 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: sync_freq 189 189 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 190 190 … … 212 212 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name 213 213 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_suffix 214 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: output_freq214 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: output_freq 215 215 INTEGER , OPTIONAL, INTENT(OUT) :: output_level 216 216 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access 217 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: split_freq217 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: split_freq 218 218 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format 219 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: sync_freq219 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: sync_freq 220 220 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 221 221 … … 243 243 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_ 244 244 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_suffix_ 245 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: output_freq_245 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: output_freq_ 246 246 INTEGER , OPTIONAL, INTENT(OUT) :: output_level_ 247 247 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access_ 248 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: split_freq_248 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: split_freq_ 249 249 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_format_ 250 CHARACTER(len = *), OPTIONAL, INTENT(OUT) :: sync_freq_250 TYPE(txios(duration)) , OPTIONAL, INTENT(OUT) :: sync_freq_ 251 251 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type_ 252 252 … … 286 286 287 287 IF (PRESENT(output_freq_)) THEN 288 CALL cxios_get_filegroup_output_freq(filegroup_hdl%daddr, output_freq_ , len(output_freq_))288 CALL cxios_get_filegroup_output_freq(filegroup_hdl%daddr, output_freq_) 289 289 ENDIF 290 290 … … 298 298 299 299 IF (PRESENT(split_freq_)) THEN 300 CALL cxios_get_filegroup_split_freq(filegroup_hdl%daddr, split_freq_ , len(split_freq_))300 CALL cxios_get_filegroup_split_freq(filegroup_hdl%daddr, split_freq_) 301 301 ENDIF 302 302 … … 306 306 307 307 IF (PRESENT(sync_freq_)) THEN 308 CALL cxios_get_filegroup_sync_freq(filegroup_hdl%daddr, sync_freq_ , len(sync_freq_))308 CALL cxios_get_filegroup_sync_freq(filegroup_hdl%daddr, sync_freq_) 309 309 ENDIF 310 310
Note: See TracChangeset
for help on using the changeset viewer.