Changeset 366 for codes/icosagcm/trunk/src/earth_const.f90
- Timestamp:
- 10/30/15 15:41:06 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/earth_const.f90
r266 r366 16 16 REAL(rstd),SAVE :: mu ! molar mass of the atmosphere 17 17 18 LOGICAL, SAVE :: boussinesq 18 LOGICAL, SAVE :: boussinesq, hydrostatic 19 19 20 20 CONTAINS … … 34 34 CALL getin("scale_height",scale_height) 35 35 36 mu=kappa/cpp37 36 boussinesq=.FALSE. 38 37 CALL getin("boussinesq",boussinesq) 38 hydrostatic=.TRUE. 39 CALL getin("hydrostatic",hydrostatic) 40 IF(boussinesq .AND. .NOT. hydrostatic) THEN 41 PRINT *, 'boussinesq=.TRUE. and hydrostatic=.FALSE. : Non-hydrostatic boussinesq equations are not supported' 42 STOP 43 END IF 39 44 45 mu=kappa/cpp 40 46 radius=radius/scale_factor 41 47 omega=omega*scale_factor … … 45 51 46 52 END MODULE earth_const 47
Note: See TracChangeset
for help on using the changeset viewer.