Changeset 55


Ignore:
Timestamp:
07/31/12 17:45:50 (12 years ago)
Author:
dubos
Message:

Some DCMIP test case cleanup for consistency

Location:
codes/icosagcm/trunk/src
Files:
1 edited
1 moved

Legend:

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

    r53 r55  
    1 MODULE etat0_ncar_mod 
     1MODULE etat0_dcmip1_mod 
    22  USE icosa 
    33  PRIVATE 
     
    257257   
    258258 
    259 END MODULE etat0_ncar_mod 
     259END MODULE etat0_dcmip1_mod 
  • codes/icosagcm/trunk/src/etat0_dcmip3.f90

    r48 r55  
    1010 
    1111  PRIVATE 
    12 ! some of the following should be obtained via getin 
    13 !  REAL(rstd),PARAMETER :: ztop=10000.   ! Height position of the model top (m) 
    14 !  REAL(rstd),PARAMETER :: ptop=27391.9  ! Pressure at the model top (Pa) 
    15 !  REAL(rstd),PARAMETER :: Xscale=1.     ! Small-planet scaling factor (1=Earth) 
    16 !  REAL(rstd),PARAMETER :: Omega =0      ! Planetary rotation rate (s-1) 
    17   REAL(rstd),PARAMETER :: u0=20.         ! Maximum amplitude of the zonal wind (m.s-1) 
    18   REAL(rstd),PARAMETER :: zs=0.          ! Surface elevation (m) 
    19   REAL(rstd),PARAMETER :: N=0.01         ! Brunt-Vaisala frequency (s-1) 
    20   REAL(rstd),PARAMETER :: Teq=300.       ! Surface temperature at the equator (K) 
    21   REAL(rstd),PARAMETER :: Peq=1e5        ! Reference surface pressure at the equator (hPa) 
    22   REAL(rstd),PARAMETER :: d=5000.        ! Witdth parameter for theta 
    23   REAL(rstd),PARAMETER :: lonc=2*pi/3    ! Longitudinal centerpoint of theta 
    24   REAL(rstd),PARAMETER :: latc=0         ! Longitudinal centerpoint of theta 
    25   REAL(rstd),PARAMETER :: dtheta=1.      ! Maximum amplitude of theta (K) 
    26   REAL(rstd),PARAMETER :: Lz=20000.      ! Vertical wave lenght of the theta perturbation 
    2712 
    2813  PUBLIC  etat0 
     14 
    2915CONTAINS 
    3016 
     
    6854  USE wind_mod 
    6955  IMPLICIT NONE 
     56  REAL(rstd),PARAMETER :: u0=20.         ! Maximum amplitude of the zonal wind (m.s-1) 
     57  REAL(rstd),PARAMETER :: N=0.01         ! Brunt-Vaisala frequency (s-1) 
     58  REAL(rstd),PARAMETER :: Teq=300.       ! Surface temperature at the equator (K) 
     59  REAL(rstd),PARAMETER :: Peq=1e5        ! Reference surface pressure at the equator (hPa) 
     60  REAL(rstd),PARAMETER :: d=5000.        ! Witdth parameter for theta 
     61  REAL(rstd),PARAMETER :: lonc=2*pi/3    ! Longitudinal centerpoint of theta 
     62  REAL(rstd),PARAMETER :: latc=0         ! Longitudinal centerpoint of theta 
     63  REAL(rstd),PARAMETER :: dtheta=1.      ! Maximum amplitude of theta (K) 
     64  REAL(rstd),PARAMETER :: Lz=20000.      ! Vertical wave lenght of the theta perturbation 
     65 
    7066  REAL(rstd), INTENT(OUT) :: ps(iim*jjm) 
    7167  REAL(rstd), INTENT(OUT) :: phis(iim*jjm) 
     
    8581  INTEGER :: i,j,l,ij 
    8682  REAL(rstd) :: Rd        ! gas constant of dry air, P=rho.Rd.T 
    87   REAL(rstd) :: alpha, rm, zs 
     83  REAL(rstd) :: alpha, rm 
    8884  REAL(rstd) :: lon,lat, C0, C1, GG 
    8985  REAL(rstd) :: p0psk, pspsk,r,zz, thetab, thetap 
     
    156152     CALL compute_temperature2theta_rhodz(ps,T,theta_rhodz,0) 
    157153  ELSE 
    158 !     CALL compute_theta2theta_rhodz(ps,theta,theta_rhodz,0) 
    159154     CALL compute_temperature2theta_rhodz(ps,T,theta_rhodz,0) 
    160155  END IF 
Note: See TracChangeset for help on using the changeset viewer.