Ignore:
Timestamp:
01/30/18 15:28:08 (6 years ago)
Author:
dubos
Message:

trunk/disvert : set pa=preff/2 rather than hard-coded pa=50000

Location:
codes/icosagcm/trunk/src
Files:
2 edited

Legend:

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

    r580 r669  
    1313  REAL(rstd),SAVE :: Treff=273. 
    1414  REAL(rstd),SAVE :: preff=101325. 
    15   REAL(rstd),SAVE :: pa=50000. 
     15  REAL(rstd),SAVE :: pa=50000. ! default value set to preff/2 by disvert_std 
    1616  REAL(rstd),SAVE :: scale_height=8000. ! atmospheric scale height (m) 
    1717  REAL(rstd),SAVE :: scale_factor=1. 
  • codes/icosagcm/trunk/src/vertical/disvert_std.f90

    r548 r669  
    1616 
    1717  SUBROUTINE init_disvert 
    18   USE icosa 
    19   IMPLICIT NONE 
    20    
     18    pa = .5*preff ! differs from 50000 if preff differs from 1e5 
     19    CALL getin('pa',pa) 
     20 
    2121    ALLOCATE(ap(llm+1)) 
    2222    ALLOCATE(bp(llm+1)) 
     
    2929 
    3030  SUBROUTINE disvert(ap,bp,presnivs) 
    31   USE icosa 
    3231  USE mpipara 
    33   USE earth_const 
    34   IMPLICIT NONE 
    3532  REAL(rstd),INTENT(OUT) :: ap(:) 
    3633  REAL(rstd),INTENT(OUT) :: bp(:) 
Note: See TracChangeset for help on using the changeset viewer.