Changeset 370 for LMDZ.3.3/branches/rel-LF/libf/dyn3d/startvar.F
- Timestamp:
- Jul 10, 2002, 5:07:19 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/libf/dyn3d/startvar.F
r359 r370 72 72 ! 73 73 SUBROUTINE startget_phys2d(varname, iml, jml, lon_in, lat_in, 74 . champ, val_exp, jml2, lon_in2, lat_in2 , interbar )74 . champ, val_exp, jml2, lon_in2, lat_in2 , interbar, masque_lu ) 75 75 ! 76 76 ! There is a big mess with the size in logitude, should it be iml or iml+1. … … 86 86 REAL, INTENT(inout) :: champ(iml,jml) 87 87 REAL, INTENT(in) :: val_exp 88 REAL, INTENT(in), optional :: masque_lu(iml,jml) 88 89 LOGICAL interbar 89 90 ! … … 101 102 IF ( .NOT.ALLOCATED(relief)) THEN 102 103 ! 104 if (present(masque_lu)) then 103 105 CALL start_init_orog( iml, jml, lon_in, lat_in, 104 . jml2,lon_in2,lat_in2, interbar ) 106 . jml2,lon_in2,lat_in2, interbar, masque_lu ) 107 else 108 CALL start_init_orog( iml, jml, lon_in, lat_in, 109 . jml2,lon_in2,lat_in2, interbar) 110 endif 105 111 ! 106 112 ENDIF … … 241 247 ! 242 248 SUBROUTINE start_init_orog ( iml,jml,lon_in, lat_in,jml2,lon_in2 , 243 , lat_in2 , interbar )249 , lat_in2 , interbar, masque_lu ) 244 250 ! 245 251 INTEGER, INTENT(in) :: iml, jml, jml2 246 252 REAL, INTENT(in) :: lon_in(iml), lat_in(jml) 247 253 REAL, INTENT(in) :: lon_in2(iml), lat_in2(jml2) 254 REAL, intent(in), optional :: masque_lu(iml,jml) 248 255 LOGICAL interbar 249 256 ! … … 339 346 ALLOCATE(tmp_int(iml,jml)) 340 347 ALLOCATE(masque(iml,jml)) 348 349 masque = -99999. 350 if (present(masque_lu)) then 351 masque = masque_lu 352 endif 341 353 ! 342 354 CALL grid_noro(iml_rel, jml_rel, lon_rad, lat_rad, relief_hi,
Note: See TracChangeset
for help on using the changeset viewer.