Changeset 1593 for trunk/LMDZ.GENERIC
- Timestamp:
- Sep 9, 2016, 4:04:54 PM (8 years ago)
- Location:
- trunk/LMDZ.GENERIC
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/README
r1589 r1593 1247 1247 - fix newstart which was broken due to recent updates of the physics/dynamics 1248 1248 interface. 1249 1250 == 09/09/2016 == EM 1251 - Some code cleanup (and harmonization with LMDZ.COMMON): remove "ecritphy" 1252 from the dynamics (since it is read/used in the physics) and remove 1253 "grireg" (unused) and "physic" (use iflag_phys instead) parameters from 1254 the dynamics. -
trunk/LMDZ.GENERIC/libf/dyn3d/control_mod.F90
r1416 r1593 12 12 integer,save :: anneeref ! reference year # ! not used 13 13 real,save :: periodav 14 integer,save :: ecritphy ! output data in "diagfi.nc" every ecritphy dynamical steps14 ! integer,save :: ecritphy ! output data in "diagfi.nc" every ecritphy dynamical steps 15 15 character(len=10),save :: planet_type ! planet type ('earth','mars',...) 16 16 character(len=4),save :: config_inca -
trunk/LMDZ.GENERIC/libf/dyn3d/defrun_new.F
r1422 r1593 40 40 use sponge_mod,only: callsponge,nsponge,mode_sponge,tetasponge 41 41 use control_mod,only: nday, day_step, iperiod, anneeref, 42 & iconser, idissip, iphysiq , ecritphy43 USE logic_mod, ONLY: hybrid,purmats, physic,grireg,fxyhypb,ysinus42 & iconser, idissip, iphysiq 43 USE logic_mod, ONLY: hybrid,purmats,fxyhypb,ysinus,iflag_phys 44 44 USE serre_mod, ONLY: clon,clat,grossismx,grossismy,dzoomx,dzoomy, 45 45 . alphax,alphay,taux,tauy … … 210 210 WRITE(lunout,*) "" 211 211 WRITE(lunout,*) "avec ou sans physique" 212 physic=.true. ! default value 213 call getin("physic",physic) 214 WRITE(lunout,*)" physic = ",physic 212 ! physic=.true. ! default value 213 ! call getin("physic",physic) 214 ! WRITE(lunout,*)" physic = ",physic 215 iflag_phys=1 ! default value 216 call getin("iflag_phys",iflag_phys) 217 WRITE(lunout,*)" iflag_phys = ",iflag_phys 215 218 216 219 WRITE(lunout,*) "" … … 220 223 WRITE(lunout,*)" iphysiq = ",iphysiq 221 224 222 WRITE(lunout,*) ""223 WRITE(lunout,*) "choix d'une grille reguliere"224 grireg=.true.225 call getin("grireg",grireg)226 WRITE(lunout,*)" grireg = ",grireg225 ! WRITE(lunout,*) "" 226 ! WRITE(lunout,*) "choix d'une grille reguliere" 227 ! grireg=.true. 228 ! call getin("grireg",grireg) 229 ! WRITE(lunout,*)" grireg = ",grireg 227 230 228 231 ccc .... P.Le Van, ajout le 03/01/96 pour l'ecriture phys ... 229 232 c 230 WRITE(lunout,*) ""231 WRITE(lunout,*) "frequence (en pas) de l'ecriture ",232 & "du fichier diagfi.nc"233 ecritphy=240234 call getin("ecritphy",ecritphy)235 WRITE(lunout,*)" ecritphy = ",ecritphy233 ! WRITE(lunout,*) "" 234 ! WRITE(lunout,*) "frequence (en pas) de l'ecriture ", 235 ! & "du fichier diagfi.nc" 236 ! ecritphy=240 237 ! call getin("ecritphy",ecritphy) 238 ! WRITE(lunout,*)" ecritphy = ",ecritphy 236 239 237 240 ccc .... P. Le Van , ajout le 7/03/95 .pour le zoom ... -
trunk/LMDZ.GENERIC/libf/dyn3d/gcm.F
r1576 r1593 5 5 use sponge_mod,only: callsponge,mode_sponge,sponge 6 6 use control_mod, only: nday, day_step, iperiod, iphysiq, 7 & iconser, ecritphy,idissip7 & iconser, idissip 8 8 ! use comgeomphy, only: initcomgeomphy 9 9 USE mod_const_mpi, ONLY: COMM_LMDZ … … 12 12 USE comconst_mod, ONLY: daysec,dtvr,dtphys,dtdiss,rad,g,r,cpp 13 13 USE logic_mod, ONLY: ecripar,forward,leapf,apphys,statcl,conser, 14 . apdiss,purmats, physic,apphys14 . apdiss,purmats,iflag_phys,apphys 15 15 USE temps_mod, ONLY: day_ini,day_end,itaufin,dt 16 16 USE iniphysiq_mod, ONLY: iniphysiq … … 260 260 & rlatu,rlatv,rlonu,rlonv, 261 261 & aire,cu,cv,rad,g,r,cpp, 262 & 1) 263 ! & iflag_phys) 262 & iflag_phys) 264 263 !#endif 265 264 ! call_iniphys=.false. … … 369 368 IF( MOD(itau,idissip ).EQ.0.AND..NOT.forward ) apdiss = .TRUE. 370 369 IF( MOD(itau,iphysiq ).EQ.0.AND..NOT.forward 371 $ .AND. physic) apphys = .TRUE.370 $ .AND. (iflag_phys.eq.1) ) apphys = .TRUE. 372 371 ELSE 373 372 IF( MOD(itau ,iconser) .EQ. 0 ) conser = .TRUE. 374 373 IF( MOD(itau+1,idissip) .EQ. 0 ) apdiss = .TRUE. 375 IF( MOD(itau+1,iphysiq).EQ.0. AND. physic ) apphys = .TRUE. 374 IF( MOD(itau+1,iphysiq).EQ.0 375 & .AND. (iflag_phys.eq.1) ) apphys = .TRUE. 376 376 END IF 377 377 … … 473 473 rdayvrai = rdaym_ini + day_ini 474 474 475 IF ( ecritphy.LT.1. ) THEN 476 rday_ecri = rdaym_ini 477 ELSE 475 ! Ehouarn: what was this for ?? 476 ! IF ( ecritphy.LT.1. ) THEN 477 ! rday_ecri = rdaym_ini 478 ! ELSE 478 479 rday_ecri = INT(rdaym_ini)+INT(day_ini) 479 ENDIF480 ! ENDIF 480 481 c 481 482 -
trunk/LMDZ.GENERIC/libf/dyn3d/logic_mod.F90
r1422 r1593 3 3 IMPLICIT NONE 4 4 5 LOGICAL purmats, physic,forward,leapf,apphys,grireg,statcl,conser, &5 LOGICAL purmats,forward,leapf,apphys,statcl,conser, & 6 6 & apdiss,apdelq,saison,ecripar,fxyhypb,ysinus,hybrid,autozlevs 7 7 8 INTEGER iflag_phys ! ==1 if calling a physics package 8 9 9 10 END MODULE logic_mod -
trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/start2archive.F
r1543 r1593 35 35 USE comvert_mod, ONLY: ap,bp 36 36 USE comconst_mod, ONLY: daysec,dtphys,rad,g,r,cpp 37 USE logic_mod, ONLY: grireg38 37 USE temps_mod, ONLY: day_ini 39 38 USE iniphysiq_mod, ONLY: iniphysiq … … 145 144 146 145 CALL defrun_new(99, .TRUE. ) 147 grireg = .TRUE.148 146 149 147 planet_type="generic"
Note: See TracChangeset
for help on using the changeset viewer.