- Timestamp:
- Oct 24, 2014, 7:53:24 PM (10 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d/guide_mod.F90
r2124 r2134 71 71 INCLUDE "netcdf.inc" 72 72 73 ! For grossismx: 74 include "serre.h" 75 73 76 INTEGER :: error,ncidpl,rid,rcod 74 77 CHARACTER (len = 80) :: abort_message … … 89 92 CALL getpar('guide_add',.false.,guide_add,'for�age constant?') 90 93 CALL getpar('guide_zon',.false.,guide_zon,'guidage moy zonale') 94 if (guide_zon .and. abs(grossismx - 1.) > 0.01) & 95 call abort_gcm("guide_init", & 96 "zonal nudging requires grid regular in longitude", 1) 91 97 92 98 ! Constantes de rappel. Unite : fraction de jour … … 112 118 ELSE if (iguide_sav == 0) then 113 119 iguide_sav = huge(0) 114 else120 ELSE 115 121 iguide_sav=day_step*iguide_sav 116 122 ENDIF … … 127 133 ! Parametres pour lecture des fichiers 128 134 CALL getpar('iguide_read',4,iguide_read,'freq. lecture guidage') 129 CALL getpar('iguide_int',4,iguide_int,'freq. lecture guidage') 130 IF (iguide_int.GT.0) THEN 135 CALL getpar('iguide_int',4,iguide_int,'freq. interpolation vert') 136 IF (iguide_int.EQ.0) THEN 137 iguide_int=1 138 ELSEIF (iguide_int.GT.0) THEN 131 139 iguide_int=day_step/iguide_int 132 140 ELSE … … 1004 1012 enddo 1005 1013 ENDIF ! guide_reg 1014 1015 if (.not. guide_add) alpha = 1. - exp(- alpha) 1006 1016 1007 1017 END SUBROUTINE tau2alpha -
LMDZ5/trunk/libf/dyn3dmem/guide_loc_mod.F90
r2124 r2134 68 68 69 69 SUBROUTINE guide_init 70 70 71 71 USE control_mod 72 72 73 IMPLICIT NONE 73 74 … … 75 76 INCLUDE "paramet.h" 76 77 INCLUDE "netcdf.inc" 78 79 ! For grossismx: 80 include "serre.h" 77 81 78 82 INTEGER :: error,ncidpl,rid,rcod … … 94 98 CALL getpar('guide_add',.false.,guide_add,'for�age constant?') 95 99 CALL getpar('guide_zon',.false.,guide_zon,'guidage moy zonale') 100 if (guide_zon .and. abs(grossismx - 1.) > 0.01) & 101 call abort_gcm("guide_init", & 102 "zonal nudging requires grid regular in longitude", 1) 96 103 97 104 ! Constantes de rappel. Unite : fraction de jour … … 1519 1526 enddo 1520 1527 enddo 1521 1522 1528 ENDIF ! guide_reg 1529 1530 if (.not. guide_add) alpha = 1. - exp(- alpha) 1523 1531 1524 1532 END SUBROUTINE tau2alpha -
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.