Changeset 1790 for trunk/LMDZ.TITAN/libf/dyn3d
- Timestamp:
- Sep 29, 2017, 1:57:44 PM (8 years ago)
- Location:
- trunk/LMDZ.TITAN/libf/dyn3d
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/LMDZ.TITAN/libf/dyn3d/disvert.F ¶
r1621 r1790 3 3 ! to use 'getin' 4 4 USE ioipsl_getincom 5 USE callkeys_mod, ONLY: kastprof,pceil5 USE callkeys_mod, ONLY: pceil 6 6 USE comvert_mod, ONLY: ap,bp,sig,nivsigs,nivsig,pa,preff, 7 7 . aps,bps,presnivs,pseudoalt,scaleheight … … 64 64 write(*,*) " autozlevs = ", autozlevs 65 65 66 write(*,*)"Operate in kastprof mode?"67 kastprof=.false.68 call getin("kastprof",kastprof)69 write(*,*)" kastprof = ",kastprof70 71 print*,'kast=',kastprof72 73 66 pceil=100.0 ! Pascals 74 67 PRINT *,'Ceiling pressure (Pa) ?' … … 81 74 endif 82 75 83 if(kastprof.and.iim.gt.1)then84 print*,'kastprof no good in 3D...'85 call abort86 endif87 88 76 psurf=610. ! default value for psurf 89 77 PRINT *,'Surface pressure (Pa) ?' … … 91 79 write(*,*) " psurf = ",psurf 92 80 93 if(kastprof)then 94 95 sig(1)=1 96 do l=2,llm 97 !sig(l)=1. - real(l-1)/real(llm) ! uses linear sigma spacing 98 !sig(l)=exp(-real(l-1)*h/real(llm)) ! uses log sigma spacing 99 !sig(l)=exp(-real(l-1)*Hmax/real(llm)) ! uses log sigma spacing 100 sig(l)=(pceil/psurf)**(real(l-1)/real(llm)) ! uses log sigma spacing 101 102 end do 103 sig(llm+1)=0 104 105 elseIF(ierr4.eq.0)then 81 IF(ierr4.eq.0)then 106 82 PRINT*,'****************************' 107 83 PRINT*,'Lecture de z2sig.def' -
TabularUnified trunk/LMDZ.TITAN/libf/dyn3d/logic_mod.F90 ¶
r1593 r1790 3 3 IMPLICIT NONE 4 4 5 LOGICAL purmats,forward,leapf,apphys,statcl,conser, & 6 & apdiss,apdelq,saison,ecripar,fxyhypb,ysinus,hybrid,autozlevs 5 LOGICAL purmats ! true if time stepping is purely Matsuno scheme 6 ! false implies Matsuno-Leapfrog time stepping scheme 7 LOGICAL forward ! true if during forward phase of Matsuno step 8 LOGICAL leapf ! true if during a leapfrog time stepping step 9 LOGICAL apphys ! true if during a time step when physics will be called 10 LOGICAL statcl 11 LOGICAL conser 12 LOGICAL apdiss ! true if during a time step when dissipation will be called 13 LOGICAL apdelq 14 LOGICAL saison 15 LOGICAL ecripar 16 LOGICAL fxyhypb ! true if using hyperbolic function discretization 17 ! for latitudinal grid 18 LOGICAL ysinus ! true if using sine function discretiation 19 ! for latitudinal grid 20 LOGICAL read_start ! true if reading a start.nc file to initialize fields 21 LOGICAL ok_guide ! true if nudging 22 LOGICAL ok_strato 23 LOGICAL tidal ! true if adding tidal forces (for Titan) 24 LOGICAL ok_gradsfile 25 LOGICAL ok_limit ! true for boundary conditions file creation (limit.nc) 26 LOGICAL ok_etat0 ! true for initial states creation (start.nc, startphy.nc) 27 LOGICAL read_orop ! true for sub-cell scales orographic params read in file 28 LOGICAL hybrid ! vertical coordinate is hybrid if true (sigma otherwise) 29 ! (only used if disvert_type==2) 30 LOGICAL autozlevs ! true if auto-discretization of vertical levels 31 LOGICAL moyzon_mu,moyzon_ch ! used for zonal averages in Titan 7 32 8 INTEGER iflag_phys ! ==1 if calling a physics package 33 INTEGER iflag_phys ! type of physics to call: 0 none, 1: phy*** package, 34 ! 2: Held & Suarez, 101-200: aquaplanets & terraplanets 35 INTEGER iflag_trac 9 36 10 37 END MODULE logic_mod
Note: See TracChangeset
for help on using the changeset viewer.