Changeset 3070 for LMDZ6/trunk
- Timestamp:
- Nov 14, 2017, 2:39:30 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/iostart.F90
r2311 r3070 89 89 LOGICAL,INTENT(OUT),OPTIONAL :: found 90 90 91 IF (PRESENT(found)) THEN 92 CALL Get_field_rgen(field_name,field,1,found) 93 ELSE 94 CALL Get_field_rgen(field_name,field,1) 95 ENDIF 91 CALL Get_field_rgen(field_name,field,1,found) 96 92 97 93 END SUBROUTINE Get_Field_r1 … … 103 99 LOGICAL,INTENT(OUT),OPTIONAL :: found 104 100 105 IF (PRESENT(found)) THEN 106 CALL Get_field_rgen(field_name,field,size(field,2),found) 107 ELSE 108 CALL Get_field_rgen(field_name,field,size(field,2)) 109 ENDIF 101 CALL Get_field_rgen(field_name,field,size(field,2),found) 110 102 111 103 … … 118 110 LOGICAL,INTENT(OUT),OPTIONAL :: found 119 111 120 IF (PRESENT(found)) THEN 121 CALL Get_field_rgen(field_name,field,size(field,2)*size(field,3),found) 122 ELSE 123 CALL Get_field_rgen(field_name,field,size(field,2)*size(field,3)) 124 ENDIF 112 CALL Get_field_rgen(field_name,field,size(field,2)*size(field,3),found) 125 113 126 114 END SUBROUTINE Get_Field_r3 … … 208 196 REAL :: varout(1) 209 197 210 IF (PRESENT(found)) THEN 211 CALL Get_var_rgen(var_name,varout,size(varout),found) 212 ELSE 213 CALL Get_var_rgen(var_name,varout,size(varout)) 214 ENDIF 198 CALL Get_var_rgen(var_name,varout,size(varout),found) 215 199 var=varout(1) 216 200 … … 223 207 LOGICAL,OPTIONAL,INTENT(OUT) :: found 224 208 225 IF (PRESENT(found)) THEN 226 CALL Get_var_rgen(var_name,var,size(var),found) 227 ELSE 228 CALL Get_var_rgen(var_name,var,size(var)) 229 ENDIF 209 CALL Get_var_rgen(var_name,var,size(var),found) 230 210 231 211 END SUBROUTINE get_var_r1 … … 237 217 LOGICAL,OPTIONAL,INTENT(OUT) :: found 238 218 239 IF (PRESENT(found)) THEN 240 CALL Get_var_rgen(var_name,var,size(var),found) 241 ELSE 242 CALL Get_var_rgen(var_name,var,size(var)) 243 ENDIF 219 CALL Get_var_rgen(var_name,var,size(var),found) 244 220 245 221 END SUBROUTINE get_var_r2 … … 251 227 LOGICAL,OPTIONAL,INTENT(OUT) :: found 252 228 253 IF (PRESENT(found)) THEN 254 CALL Get_var_rgen(var_name,var,size(var),found) 255 ELSE 256 CALL Get_var_rgen(var_name,var,size(var)) 257 ENDIF 229 CALL Get_var_rgen(var_name,var,size(var),found) 258 230 259 231 END SUBROUTINE get_var_r3
Note: See TracChangeset
for help on using the changeset viewer.