- Timestamp:
- 01/25/17 16:25:17 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/src/interface/fortran_attr/iinterpolate_domain_attr.F90
r1005 r1037 12 12 13 13 SUBROUTINE xios(set_interpolate_domain_attr) & 14 ( interpolate_domain_id, file, mode, order, renormalize, weight_filename, write_weight)14 ( interpolate_domain_id, file, order, renormalize ) 15 15 16 16 IMPLICIT NONE … … 18 18 CHARACTER(LEN=*), INTENT(IN) ::interpolate_domain_id 19 19 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: file 20 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: mode21 20 INTEGER , OPTIONAL, INTENT(IN) :: order 22 21 LOGICAL , OPTIONAL, INTENT(IN) :: renormalize 23 22 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 24 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: weight_filename25 LOGICAL , OPTIONAL, INTENT(IN) :: write_weight26 LOGICAL (KIND=C_BOOL) :: write_weight_tmp27 23 28 24 CALL xios(get_interpolate_domain_handle) & 29 25 (interpolate_domain_id,interpolate_domain_hdl) 30 26 CALL xios(set_interpolate_domain_attr_hdl_) & 31 ( interpolate_domain_hdl, file, mode, order, renormalize, weight_filename, write_weight)27 ( interpolate_domain_hdl, file, order, renormalize ) 32 28 33 29 END SUBROUTINE xios(set_interpolate_domain_attr) 34 30 35 31 SUBROUTINE xios(set_interpolate_domain_attr_hdl) & 36 ( interpolate_domain_hdl, file, mode, order, renormalize, weight_filename, write_weight)32 ( interpolate_domain_hdl, file, order, renormalize ) 37 33 38 34 IMPLICIT NONE 39 35 TYPE(txios(interpolate_domain)) , INTENT(IN) :: interpolate_domain_hdl 40 36 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: file 41 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: mode42 37 INTEGER , OPTIONAL, INTENT(IN) :: order 43 38 LOGICAL , OPTIONAL, INTENT(IN) :: renormalize 44 39 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 45 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: weight_filename46 LOGICAL , OPTIONAL, INTENT(IN) :: write_weight47 LOGICAL (KIND=C_BOOL) :: write_weight_tmp48 40 49 41 CALL xios(set_interpolate_domain_attr_hdl_) & 50 ( interpolate_domain_hdl, file, mode, order, renormalize, weight_filename, write_weight)42 ( interpolate_domain_hdl, file, order, renormalize ) 51 43 52 44 END SUBROUTINE xios(set_interpolate_domain_attr_hdl) 53 45 54 46 SUBROUTINE xios(set_interpolate_domain_attr_hdl_) & 55 ( interpolate_domain_hdl, file_, mode_, order_, renormalize_, weight_filename_, write_weight_ & 56 ) 47 ( interpolate_domain_hdl, file_, order_, renormalize_ ) 57 48 58 49 IMPLICIT NONE 59 50 TYPE(txios(interpolate_domain)) , INTENT(IN) :: interpolate_domain_hdl 60 51 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: file_ 61 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: mode_62 52 INTEGER , OPTIONAL, INTENT(IN) :: order_ 63 53 LOGICAL , OPTIONAL, INTENT(IN) :: renormalize_ 64 54 LOGICAL (KIND=C_BOOL) :: renormalize__tmp 65 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: weight_filename_66 LOGICAL , OPTIONAL, INTENT(IN) :: write_weight_67 LOGICAL (KIND=C_BOOL) :: write_weight__tmp68 55 69 56 IF (PRESENT(file_)) THEN 70 57 CALL cxios_set_interpolate_domain_file & 71 58 (interpolate_domain_hdl%daddr, file_, len(file_)) 72 ENDIF73 74 IF (PRESENT(mode_)) THEN75 CALL cxios_set_interpolate_domain_mode &76 (interpolate_domain_hdl%daddr, mode_, len(mode_))77 59 ENDIF 78 60 … … 88 70 ENDIF 89 71 90 IF (PRESENT(weight_filename_)) THEN91 CALL cxios_set_interpolate_domain_weight_filename &92 (interpolate_domain_hdl%daddr, weight_filename_, len(weight_filename_))93 ENDIF94 95 IF (PRESENT(write_weight_)) THEN96 write_weight__tmp = write_weight_97 CALL cxios_set_interpolate_domain_write_weight &98 (interpolate_domain_hdl%daddr, write_weight__tmp)99 ENDIF100 101 72 END SUBROUTINE xios(set_interpolate_domain_attr_hdl_) 102 73 103 74 SUBROUTINE xios(get_interpolate_domain_attr) & 104 ( interpolate_domain_id, file, mode, order, renormalize, weight_filename, write_weight)75 ( interpolate_domain_id, file, order, renormalize ) 105 76 106 77 IMPLICIT NONE … … 108 79 CHARACTER(LEN=*), INTENT(IN) ::interpolate_domain_id 109 80 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: file 110 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: mode111 81 INTEGER , OPTIONAL, INTENT(OUT) :: order 112 82 LOGICAL , OPTIONAL, INTENT(OUT) :: renormalize 113 83 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 114 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: weight_filename115 LOGICAL , OPTIONAL, INTENT(OUT) :: write_weight116 LOGICAL (KIND=C_BOOL) :: write_weight_tmp117 84 118 85 CALL xios(get_interpolate_domain_handle) & 119 86 (interpolate_domain_id,interpolate_domain_hdl) 120 87 CALL xios(get_interpolate_domain_attr_hdl_) & 121 ( interpolate_domain_hdl, file, mode, order, renormalize, weight_filename, write_weight)88 ( interpolate_domain_hdl, file, order, renormalize ) 122 89 123 90 END SUBROUTINE xios(get_interpolate_domain_attr) 124 91 125 92 SUBROUTINE xios(get_interpolate_domain_attr_hdl) & 126 ( interpolate_domain_hdl, file, mode, order, renormalize, weight_filename, write_weight)93 ( interpolate_domain_hdl, file, order, renormalize ) 127 94 128 95 IMPLICIT NONE 129 96 TYPE(txios(interpolate_domain)) , INTENT(IN) :: interpolate_domain_hdl 130 97 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: file 131 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: mode132 98 INTEGER , OPTIONAL, INTENT(OUT) :: order 133 99 LOGICAL , OPTIONAL, INTENT(OUT) :: renormalize 134 100 LOGICAL (KIND=C_BOOL) :: renormalize_tmp 135 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: weight_filename136 LOGICAL , OPTIONAL, INTENT(OUT) :: write_weight137 LOGICAL (KIND=C_BOOL) :: write_weight_tmp138 101 139 102 CALL xios(get_interpolate_domain_attr_hdl_) & 140 ( interpolate_domain_hdl, file, mode, order, renormalize, weight_filename, write_weight)103 ( interpolate_domain_hdl, file, order, renormalize ) 141 104 142 105 END SUBROUTINE xios(get_interpolate_domain_attr_hdl) 143 106 144 107 SUBROUTINE xios(get_interpolate_domain_attr_hdl_) & 145 ( interpolate_domain_hdl, file_, mode_, order_, renormalize_, weight_filename_, write_weight_ & 146 ) 108 ( interpolate_domain_hdl, file_, order_, renormalize_ ) 147 109 148 110 IMPLICIT NONE 149 111 TYPE(txios(interpolate_domain)) , INTENT(IN) :: interpolate_domain_hdl 150 112 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: file_ 151 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: mode_152 113 INTEGER , OPTIONAL, INTENT(OUT) :: order_ 153 114 LOGICAL , OPTIONAL, INTENT(OUT) :: renormalize_ 154 115 LOGICAL (KIND=C_BOOL) :: renormalize__tmp 155 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: weight_filename_156 LOGICAL , OPTIONAL, INTENT(OUT) :: write_weight_157 LOGICAL (KIND=C_BOOL) :: write_weight__tmp158 116 159 117 IF (PRESENT(file_)) THEN 160 118 CALL cxios_get_interpolate_domain_file & 161 119 (interpolate_domain_hdl%daddr, file_, len(file_)) 162 ENDIF163 164 IF (PRESENT(mode_)) THEN165 CALL cxios_get_interpolate_domain_mode &166 (interpolate_domain_hdl%daddr, mode_, len(mode_))167 120 ENDIF 168 121 … … 178 131 ENDIF 179 132 180 IF (PRESENT(weight_filename_)) THEN181 CALL cxios_get_interpolate_domain_weight_filename &182 (interpolate_domain_hdl%daddr, weight_filename_, len(weight_filename_))183 ENDIF184 185 IF (PRESENT(write_weight_)) THEN186 CALL cxios_get_interpolate_domain_write_weight &187 (interpolate_domain_hdl%daddr, write_weight__tmp)188 write_weight_ = write_weight__tmp189 ENDIF190 191 133 END SUBROUTINE xios(get_interpolate_domain_attr_hdl_) 192 134 193 135 SUBROUTINE xios(is_defined_interpolate_domain_attr) & 194 ( interpolate_domain_id, file, mode, order, renormalize, weight_filename, write_weight)136 ( interpolate_domain_id, file, order, renormalize ) 195 137 196 138 IMPLICIT NONE … … 199 141 LOGICAL, OPTIONAL, INTENT(OUT) :: file 200 142 LOGICAL(KIND=C_BOOL) :: file_tmp 201 LOGICAL, OPTIONAL, INTENT(OUT) :: mode202 LOGICAL(KIND=C_BOOL) :: mode_tmp203 143 LOGICAL, OPTIONAL, INTENT(OUT) :: order 204 144 LOGICAL(KIND=C_BOOL) :: order_tmp 205 145 LOGICAL, OPTIONAL, INTENT(OUT) :: renormalize 206 146 LOGICAL(KIND=C_BOOL) :: renormalize_tmp 207 LOGICAL, OPTIONAL, INTENT(OUT) :: weight_filename208 LOGICAL(KIND=C_BOOL) :: weight_filename_tmp209 LOGICAL, OPTIONAL, INTENT(OUT) :: write_weight210 LOGICAL(KIND=C_BOOL) :: write_weight_tmp211 147 212 148 CALL xios(get_interpolate_domain_handle) & 213 149 (interpolate_domain_id,interpolate_domain_hdl) 214 150 CALL xios(is_defined_interpolate_domain_attr_hdl_) & 215 ( interpolate_domain_hdl, file, mode, order, renormalize, weight_filename, write_weight)151 ( interpolate_domain_hdl, file, order, renormalize ) 216 152 217 153 END SUBROUTINE xios(is_defined_interpolate_domain_attr) 218 154 219 155 SUBROUTINE xios(is_defined_interpolate_domain_attr_hdl) & 220 ( interpolate_domain_hdl, file, mode, order, renormalize, weight_filename, write_weight)156 ( interpolate_domain_hdl, file, order, renormalize ) 221 157 222 158 IMPLICIT NONE … … 224 160 LOGICAL, OPTIONAL, INTENT(OUT) :: file 225 161 LOGICAL(KIND=C_BOOL) :: file_tmp 226 LOGICAL, OPTIONAL, INTENT(OUT) :: mode227 LOGICAL(KIND=C_BOOL) :: mode_tmp228 162 LOGICAL, OPTIONAL, INTENT(OUT) :: order 229 163 LOGICAL(KIND=C_BOOL) :: order_tmp 230 164 LOGICAL, OPTIONAL, INTENT(OUT) :: renormalize 231 165 LOGICAL(KIND=C_BOOL) :: renormalize_tmp 232 LOGICAL, OPTIONAL, INTENT(OUT) :: weight_filename233 LOGICAL(KIND=C_BOOL) :: weight_filename_tmp234 LOGICAL, OPTIONAL, INTENT(OUT) :: write_weight235 LOGICAL(KIND=C_BOOL) :: write_weight_tmp236 166 237 167 CALL xios(is_defined_interpolate_domain_attr_hdl_) & 238 ( interpolate_domain_hdl, file, mode, order, renormalize, weight_filename, write_weight)168 ( interpolate_domain_hdl, file, order, renormalize ) 239 169 240 170 END SUBROUTINE xios(is_defined_interpolate_domain_attr_hdl) 241 171 242 172 SUBROUTINE xios(is_defined_interpolate_domain_attr_hdl_) & 243 ( interpolate_domain_hdl, file_, mode_, order_, renormalize_, weight_filename_, write_weight_ & 244 ) 173 ( interpolate_domain_hdl, file_, order_, renormalize_ ) 245 174 246 175 IMPLICIT NONE … … 248 177 LOGICAL, OPTIONAL, INTENT(OUT) :: file_ 249 178 LOGICAL(KIND=C_BOOL) :: file__tmp 250 LOGICAL, OPTIONAL, INTENT(OUT) :: mode_251 LOGICAL(KIND=C_BOOL) :: mode__tmp252 179 LOGICAL, OPTIONAL, INTENT(OUT) :: order_ 253 180 LOGICAL(KIND=C_BOOL) :: order__tmp 254 181 LOGICAL, OPTIONAL, INTENT(OUT) :: renormalize_ 255 182 LOGICAL(KIND=C_BOOL) :: renormalize__tmp 256 LOGICAL, OPTIONAL, INTENT(OUT) :: weight_filename_257 LOGICAL(KIND=C_BOOL) :: weight_filename__tmp258 LOGICAL, OPTIONAL, INTENT(OUT) :: write_weight_259 LOGICAL(KIND=C_BOOL) :: write_weight__tmp260 183 261 184 IF (PRESENT(file_)) THEN … … 265 188 ENDIF 266 189 267 IF (PRESENT(mode_)) THEN268 mode__tmp = cxios_is_defined_interpolate_domain_mode &269 (interpolate_domain_hdl%daddr)270 mode_ = mode__tmp271 ENDIF272 273 190 IF (PRESENT(order_)) THEN 274 191 order__tmp = cxios_is_defined_interpolate_domain_order & … … 283 200 ENDIF 284 201 285 IF (PRESENT(weight_filename_)) THEN286 weight_filename__tmp = cxios_is_defined_interpolate_domain_weight_filename &287 (interpolate_domain_hdl%daddr)288 weight_filename_ = weight_filename__tmp289 ENDIF290 291 IF (PRESENT(write_weight_)) THEN292 write_weight__tmp = cxios_is_defined_interpolate_domain_write_weight &293 (interpolate_domain_hdl%daddr)294 write_weight_ = write_weight__tmp295 ENDIF296 297 202 END SUBROUTINE xios(is_defined_interpolate_domain_attr_hdl_) 298 203
Note: See TracChangeset
for help on using the changeset viewer.