Changeset 534 for codes/icosagcm/devel
- Timestamp:
- 05/30/17 15:52:00 (7 years ago)
- Location:
- codes/icosagcm/devel/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/devel/src/base/earth_const.f90
r533 r534 19 19 REAL(rstd),SAVE :: mu ! molar mass of the atmosphere 20 20 21 INTEGER, PARAMETER,PUBLIC :: thermo_ theta=1, thermo_entropy=2, &22 thermo_moist=3, thermo_ moist_debug=10, thermo_dry=4, thermo_fake_moist=521 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 23 INTEGER, PUBLIC :: caldyn_thermo, physics_thermo 24 24 !$OMP THREADPRIVATE(caldyn_thermo) … … 48 48 boussinesq=.FALSE. 49 49 CALL getin("boussinesq",boussinesq) 50 PRINT *, "Note : key boussinesq is deprecated, use thermo=boussinesq instead" 51 IF(boussinesq) STOP 50 52 hydrostatic=.TRUE. 51 53 CALL getin("hydrostatic",hydrostatic) -
codes/icosagcm/devel/src/dynamics/caldyn_gcm.f90
r531 r534 21 21 INTEGER :: ind 22 22 REAL(rstd),POINTER :: planetvel(:) 23 24 hydrostatic=.TRUE. 25 CALL getin("hydrostatic",hydrostatic) 23 26 24 27 def='energy' … … 37 40 38 41 nqdyn=1 ! default value 42 physics_thermo = thermo_none 39 43 40 44 def='theta' 41 45 CALL getin('thermo',def) 42 46 SELECT CASE(TRIM(def)) 47 CASE('boussinesq') 48 boussinesq=.TRUE. 49 caldyn_thermo=thermo_boussinesq 50 IF(.NOT. hydrostatic) THEN 51 PRINT *, 'thermo=boussinesq and hydrostatic=.FALSE. : Non-hydrostatic boussinesq equations are not supported' 52 STOP 53 END IF 43 54 CASE('theta') 44 55 caldyn_thermo=thermo_theta
Note: See TracChangeset
for help on using the changeset viewer.