Ignore:
Timestamp:
10/30/15 15:41:06 (9 years ago)
Author:
dubos
Message:

Progress towards NH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/earth_const.f90

    r266 r366  
    1616  REAL(rstd),SAVE :: mu                 ! molar mass of the atmosphere 
    1717 
    18   LOGICAL, SAVE :: boussinesq 
     18  LOGICAL, SAVE :: boussinesq, hydrostatic 
    1919 
    2020CONTAINS 
     
    3434    CALL getin("scale_height",scale_height) 
    3535     
    36     mu=kappa/cpp 
    3736    boussinesq=.FALSE. 
    3837    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 
    3944     
     45    mu=kappa/cpp 
    4046    radius=radius/scale_factor 
    4147    omega=omega*scale_factor 
     
    4551   
    4652END MODULE earth_const 
    47    
Note: See TracChangeset for help on using the changeset viewer.