Ignore:
Timestamp:
Sep 29, 2017, 1:57:44 PM (8 years ago)
Author:
jvatant
Message:

Update 1D model that hasn't been cleaned since migration from generic

+ remove co2,water, kcm ...
+ added moyzon

Also correct deftank according to r1788
--JVO

Location:
trunk/LMDZ.TITAN/libf/dyn3d
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/LMDZ.TITAN/libf/dyn3d/disvert.F

    r1621 r1790  
    33! to use  'getin'
    44      USE ioipsl_getincom
    5       USE callkeys_mod, ONLY: kastprof,pceil
     5      USE callkeys_mod, ONLY: pceil
    66      USE comvert_mod, ONLY: ap,bp,sig,nivsigs,nivsig,pa,preff,
    77     .                  aps,bps,presnivs,pseudoalt,scaleheight
     
    6464      write(*,*) " autozlevs = ", autozlevs
    6565
    66       write(*,*)"Operate in kastprof mode?"
    67       kastprof=.false.
    68       call getin("kastprof",kastprof)
    69       write(*,*)" kastprof = ",kastprof
    70 
    71       print*,'kast=',kastprof
    72 
    7366      pceil=100.0 ! Pascals
    7467      PRINT *,'Ceiling pressure (Pa) ?'
     
    8174      endif
    8275
    83       if(kastprof.and.iim.gt.1)then
    84          print*,'kastprof no good in 3D...'
    85          call abort
    86       endif
    87 
    8876      psurf=610. ! default value for psurf
    8977      PRINT *,'Surface pressure (Pa) ?'
     
    9179      write(*,*) " psurf = ",psurf
    9280
    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
    10682         PRINT*,'****************************'
    10783         PRINT*,'Lecture de z2sig.def'
  • TabularUnified trunk/LMDZ.TITAN/libf/dyn3d/logic_mod.F90

    r1593 r1790  
    33IMPLICIT NONE 
    44
    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
    732
    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
    936
    1037END MODULE logic_mod
Note: See TracChangeset for help on using the changeset viewer.