Changeset 2134 for LMDZ5/trunk/libf/dyn3dpar
- Timestamp:
- Oct 24, 2014, 7:53:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3dpar/guide_p_mod.F90
r2124 r2134 67 67 68 68 SUBROUTINE guide_init 69 69 70 70 USE control_mod 71 71 72 IMPLICIT NONE 72 73 … … 74 75 INCLUDE "paramet.h" 75 76 INCLUDE "netcdf.inc" 77 78 ! For grossismx: 79 include "serre.h" 76 80 77 81 INTEGER :: error,ncidpl,rid,rcod … … 93 97 CALL getpar('guide_add',.false.,guide_add,'for�age constant?') 94 98 CALL getpar('guide_zon',.false.,guide_zon,'guidage moy zonale') 99 if (guide_zon .and. abs(grossismx - 1.) > 0.01) & 100 call abort_gcm("guide_init", & 101 "zonal nudging requires grid regular in longitude", 1) 95 102 96 103 ! Constantes de rappel. Unite : fraction de jour … … 157 164 ncidpl=-99 158 165 if (guide_plevs.EQ.1) then 159 if (ncidpl.eq.-99) then 166 if (ncidpl.eq.-99) then 160 167 rcod=nf90_open('apbp.nc',Nf90_NOWRITe, ncidpl) 161 168 if (rcod.NE.NF_NOERR) THEN … … 165 172 endif 166 173 elseif (guide_plevs.EQ.2) then 167 if (ncidpl.EQ.-99) then 174 if (ncidpl.EQ.-99) then 168 175 rcod=nf90_open('P.nc',Nf90_NOWRITe,ncidpl) 169 176 if (rcod.NE.NF_NOERR) THEN … … 1251 1258 enddo 1252 1259 ENDIF ! guide_reg 1260 1261 if (.not. guide_add) alpha = 1. - exp(- alpha) 1253 1262 1254 1263 END SUBROUTINE tau2alpha
Note: See TracChangeset
for help on using the changeset viewer.