Changeset 415 for XIOS/trunk/src/interface/fortran_attr/ifile_attr.F90
- Timestamp:
- 01/20/13 23:14:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/fortran_attr/ifile_attr.F90
r369 r415 12 12 13 13 SUBROUTINE xios(set_file_attr) & 14 ( file_id, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq&15 , s ync_freq, type )14 ( file_id, description, enabled, min_digits, name, name_suffix, output_freq, output_level, par_access & 15 , split_freq, sync_freq, type ) 16 16 17 17 IMPLICIT NONE … … 21 21 LOGICAL , OPTIONAL, INTENT(IN) :: enabled 22 22 LOGICAL (KIND=C_BOOL) :: enabled_tmp 23 INTEGER , OPTIONAL, INTENT(IN) :: min_digits 23 24 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name 24 25 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_suffix … … 32 33 CALL xios(get_file_handle)(file_id,file_hdl) 33 34 CALL xios(set_file_attr_hdl_) & 34 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq&35 , s ync_freq, type )35 ( file_hdl, description, enabled, min_digits, name, name_suffix, output_freq, output_level, par_access & 36 , split_freq, sync_freq, type ) 36 37 37 38 END SUBROUTINE xios(set_file_attr) 38 39 39 40 SUBROUTINE xios(set_file_attr_hdl) & 40 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq&41 , s ync_freq, type )41 ( file_hdl, description, enabled, min_digits, name, name_suffix, output_freq, output_level, par_access & 42 , split_freq, sync_freq, type ) 42 43 43 44 IMPLICIT NONE … … 46 47 LOGICAL , OPTIONAL, INTENT(IN) :: enabled 47 48 LOGICAL (KIND=C_BOOL) :: enabled_tmp 49 INTEGER , OPTIONAL, INTENT(IN) :: min_digits 48 50 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name 49 51 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_suffix … … 56 58 57 59 CALL xios(set_file_attr_hdl_) & 58 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq&59 , s ync_freq, type )60 ( file_hdl, description, enabled, min_digits, name, name_suffix, output_freq, output_level, par_access & 61 , split_freq, sync_freq, type ) 60 62 61 63 END SUBROUTINE xios(set_file_attr_hdl) 62 64 63 65 SUBROUTINE xios(set_file_attr_hdl_) & 64 ( file_hdl, description_, enabled_, name_, name_suffix_, output_freq_, output_level_, par_access_ &65 , split_freq_, sync_freq_, type_ )66 ( file_hdl, description_, enabled_, min_digits_, name_, name_suffix_, output_freq_, output_level_ & 67 , par_access_, split_freq_, sync_freq_, type_ ) 66 68 67 69 IMPLICIT NONE … … 70 72 LOGICAL , OPTIONAL, INTENT(IN) :: enabled_ 71 73 LOGICAL (KIND=C_BOOL) :: enabled__tmp 74 INTEGER , OPTIONAL, INTENT(IN) :: min_digits_ 72 75 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_ 73 76 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: name_suffix_ … … 88 91 ENDIF 89 92 93 IF (PRESENT(min_digits_)) THEN 94 CALL cxios_set_file_min_digits(file_hdl%daddr, min_digits_) 95 ENDIF 96 90 97 IF (PRESENT(name_)) THEN 91 98 CALL cxios_set_file_name(file_hdl%daddr, name_, len(name_)) … … 125 132 126 133 SUBROUTINE xios(get_file_attr) & 127 ( file_id, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq&128 , s ync_freq, type )134 ( file_id, description, enabled, min_digits, name, name_suffix, output_freq, output_level, par_access & 135 , split_freq, sync_freq, type ) 129 136 130 137 IMPLICIT NONE … … 134 141 LOGICAL , OPTIONAL, INTENT(OUT) :: enabled 135 142 LOGICAL (KIND=C_BOOL) :: enabled_tmp 143 INTEGER , OPTIONAL, INTENT(OUT) :: min_digits 136 144 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name 137 145 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_suffix … … 145 153 CALL xios(get_file_handle)(file_id,file_hdl) 146 154 CALL xios(get_file_attr_hdl_) & 147 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq&148 , s ync_freq, type )155 ( file_hdl, description, enabled, min_digits, name, name_suffix, output_freq, output_level, par_access & 156 , split_freq, sync_freq, type ) 149 157 150 158 END SUBROUTINE xios(get_file_attr) 151 159 152 160 SUBROUTINE xios(get_file_attr_hdl) & 153 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq&154 , s ync_freq, type )161 ( file_hdl, description, enabled, min_digits, name, name_suffix, output_freq, output_level, par_access & 162 , split_freq, sync_freq, type ) 155 163 156 164 IMPLICIT NONE … … 159 167 LOGICAL , OPTIONAL, INTENT(OUT) :: enabled 160 168 LOGICAL (KIND=C_BOOL) :: enabled_tmp 169 INTEGER , OPTIONAL, INTENT(OUT) :: min_digits 161 170 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name 162 171 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_suffix … … 169 178 170 179 CALL xios(get_file_attr_hdl_) & 171 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq&172 , s ync_freq, type )180 ( file_hdl, description, enabled, min_digits, name, name_suffix, output_freq, output_level, par_access & 181 , split_freq, sync_freq, type ) 173 182 174 183 END SUBROUTINE xios(get_file_attr_hdl) 175 184 176 185 SUBROUTINE xios(get_file_attr_hdl_) & 177 ( file_hdl, description_, enabled_, name_, name_suffix_, output_freq_, output_level_, par_access_ &178 , split_freq_, sync_freq_, type_ )186 ( file_hdl, description_, enabled_, min_digits_, name_, name_suffix_, output_freq_, output_level_ & 187 , par_access_, split_freq_, sync_freq_, type_ ) 179 188 180 189 IMPLICIT NONE … … 183 192 LOGICAL , OPTIONAL, INTENT(OUT) :: enabled_ 184 193 LOGICAL (KIND=C_BOOL) :: enabled__tmp 194 INTEGER , OPTIONAL, INTENT(OUT) :: min_digits_ 185 195 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_ 186 196 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: name_suffix_ … … 201 211 ENDIF 202 212 213 IF (PRESENT(min_digits_)) THEN 214 CALL cxios_get_file_min_digits(file_hdl%daddr, min_digits_) 215 ENDIF 216 203 217 IF (PRESENT(name_)) THEN 204 218 CALL cxios_get_file_name(file_hdl%daddr, name_, len(name_))
Note: See TracChangeset
for help on using the changeset viewer.