source: LMDZ6/trunk/libf/dyn3dmem/logic_mod.f90 @ 5435

Last change on this file since 5435 was 5268, checked in by abarral, 2 months ago

.f90 <-> .F90 depending on cpp key use

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
File size: 2.0 KB
RevLine 
[1632]1!
[1984]2! $Id: $
[1632]3!
[2603]4MODULE logic_mod
[1632]5
[2603]6IMPLICIT NONE
[1632]7
[2603]8  LOGICAL purmats ! true if time stepping is purely Matsuno scheme
9                  ! false implies Matsuno-Leapfrog time stepping scheme
10  LOGICAL forward ! true if during forward phase of Matsuno step
11  LOGICAL leapf ! true if during a leapfrog time stepping step
12  LOGICAL apphys ! true if during a time step when physics will be called
13  LOGICAL statcl
14  LOGICAL conser
15  LOGICAL apdiss ! true if during a time step when dissipation will be called
16  LOGICAL apdelq
17  LOGICAL saison
18  LOGICAL ecripar
19  LOGICAL fxyhypb ! true if using hyperbolic function discretization
20                  ! for latitudinal grid
21  LOGICAL ysinus ! true if using sine function discretiation
22                 ! for latitudinal grid
23  LOGICAL read_start ! true if reading a start.nc file to initialize fields
24  LOGICAL ok_guide ! true if nudging
25  LOGICAL ok_strato
26  LOGICAL ok_gradsfile
[2665]27  LOGICAL ok_limit  ! true for boundary conditions file creation (limit.nc)
28  LOGICAL ok_etat0  ! true for initial states creation (start.nc, startphy.nc)
29  LOGICAL read_orop ! true for sub-cell scales orographic params read in file
[2603]30  LOGICAL hybrid ! vertical coordinate is hybrid if true (sigma otherwise)
31                 ! (only used if disvert_type==2)
[4996]32  LOGICAL adv_qsat_liq ! true if qsat is calculated alwats wrt liquid for
33                       ! adapted Van Leer advection scheme
[2603]34  INTEGER iflag_phys ! type of physics to call: 0 none, 1: phy*** package,
35                     ! 2: Held & Suarez, 101-200: aquaplanets & terraplanets
36  INTEGER iflag_trac
[1632]37
[2603]38!$OMP THREADPRIVATE(purmats,forward,leapf,apphys,statcl,conser, &
39!$OMP     apdiss,apdelq,saison,ecripar,fxyhypb,ysinus, &
40!$OMP     read_start,ok_guide,ok_strato,ok_gradsfile, &
[4996]41!$OMP     ok_limit,ok_etat0,hybrid, adv_qsat_liq)
[2603]42!$OMP THREADPRIVATE(iflag_phys,iflag_trac)
43
44!WARNING: when adding a threadprivate variable in this module
45!        do not forget to add it to the copyin clause when opening an OpenMP
46!        parallel section. e.g. in gcm before call leapfrog_loc
47
48END MODULE logic_mod
Note: See TracBrowser for help on using the repository browser.