Ignore:
Timestamp:
08/24/18 13:56:09 (6 years ago)
Author:
dubos
Message:

devel : more cleanup and reorganization in dynamics/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/src/base/earth_const.f90

    r714 r732  
    1919  REAL(rstd),SAVE :: mu                 ! molar mass of the atmosphere 
    2020 
    21   INTEGER, PARAMETER,PUBLIC :: thermo_none=-99, thermo_theta=1, thermo_entropy=2, & 
    22        thermo_moist=3, thermo_boussinesq=4, thermo_dry=10, thermo_fake_moist=11, thermo_moist_debug=100, & 
    23        caldyn_vert_noncons=1, caldyn_vert_cons=2 
    24   INTEGER, PUBLIC :: caldyn_thermo, caldyn_vert_variant, physics_thermo 
    25   !$OMP THREADPRIVATE(caldyn_thermo)  
    26   !$OMP THREADPRIVATE(physics_thermo)  
    27  
    28   LOGICAL, SAVE :: boussinesq, hydrostatic 
    29   !$OMP THREADPRIVATE(boussinesq) 
    30   !$OMP THREADPRIVATE(hydrostatic)  
    31   LOGICAL :: dysl, dysl_geopot, dysl_pvort_only, dysl_caldyn_fast, dysl_caldyn_coriolis, dysl_slow_hydro, dysl_caldyn_vert 
    32   !$OMP THREADPRIVATE(dysl, dysl_geopot, dysl_pvort_only, dysl_caldyn_fast, dysl_caldyn_coriolis, dysl_slow_hydro, dysl_caldyn_vert) 
    33  
    3421CONTAINS 
    3522   
     
    5138    CALL getin("scale_height",scale_height) 
    5239     
    53     boussinesq=.FALSE. 
    54     CALL getin("boussinesq",boussinesq)   
    55     PRINT *, "Note : key boussinesq is deprecated, use thermo=boussinesq instead" 
    56     IF(boussinesq) STOP 
    57     hydrostatic=.TRUE. 
    58     CALL getin("hydrostatic",hydrostatic)   
    59     IF(boussinesq .AND. .NOT. hydrostatic) THEN 
    60        PRINT *, 'boussinesq=.TRUE. and hydrostatic=.FALSE. : Non-hydrostatic boussinesq equations are not supported' 
    61        STOP 
    62     END IF 
    63      
    6440    mu=kappa/cpp 
    6541    radius=radius/scale_factor 
Note: See TracChangeset for help on using the changeset viewer.