source: LMDZ5/branches/LMDZ5-DOFOCO/libf/dyn3d/logic.h @ 5080

Last change on this file since 5080 was 1520, checked in by Ehouarn Millour, 13 years ago

Implementation of a different vertical discretization (from/for planets, but
can in principle also be used for Earth).
Choice of vertical discretization is set by flag 'disvert_type';
'disvert_type=1' is Earth standard (default; ie set to 1 if
planet_type=="earth") case.
With 'disvert_type=2', approximate altitude of layers and reference atmospheric
scale height must be given using an input file ("z2sig.def", first line
should give scale height, in km, following lines must specify the altitude,
in km above surface, of mid-layers, one per line; see disvert_noterre.F).

Checked that these changes do not impact on 'bench' results, on Vargas.

EM.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.0 KB
Line 
1!
2! $Id: logic.h 1520 2011-05-23 11:37:09Z abarral $
3!
4!
5! NB: keep items of different kinds in seperate common blocs to avoid
6!     "misaligned commons" issues
7!-----------------------------------------------------------------------
8! INCLUDE 'logic.h'
9
10      COMMON/logicl/ purmats,forward,leapf,apphys,                      &
11     &  statcl,conser,apdiss,apdelq,saison,ecripar,fxyhypb,ysinus       &
12     &  ,read_start,ok_guide,ok_strato,ok_gradsfile                     &
13     &  ,ok_limit,ok_etat0,grilles_gcm_netcdf,hybrid
14
15      COMMON/logici/ iflag_phys,iflag_trac
16     
17      LOGICAL purmats,forward,leapf,apphys,statcl,conser,               &
18     & apdiss,apdelq,saison,ecripar,fxyhypb,ysinus                      &
19     &  ,read_start,ok_guide,ok_strato,ok_gradsfile                     &
20     &  ,ok_limit,ok_etat0,grilles_gcm_netcdf
21      logical hybrid ! vertical coordinate is hybrid if true (sigma otherwise)
22                     ! (only used if disvert_type==2)
23
24      integer iflag_phys,iflag_trac
25!-----------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.