Changeset 552


Ignore:
Timestamp:
09/18/17 15:07:22 (7 years ago)
Author:
dubos
Message:

trunk : backported commit 534 from devel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/dynamics/caldyn_gcm.f90

    r548 r552  
    2121    INTEGER            :: ind 
    2222    REAL(rstd),POINTER :: planetvel(:) 
     23 
     24    hydrostatic=.TRUE. 
     25    CALL getin("hydrostatic",hydrostatic) 
    2326   
    2427    def='energy' 
     
    3740 
    3841    nqdyn=1 ! default value 
     42    physics_thermo = thermo_none 
    3943 
    4044    def='theta' 
    4145    CALL getin('thermo',def) 
    4246    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 
    4354    CASE('theta') 
    4455       caldyn_thermo=thermo_theta 
Note: See TracChangeset for help on using the changeset viewer.