Changeset 972


Ignore:
Timestamp:
09/19/19 15:57:53 (5 years ago)
Author:
jisesh
Message:

devel: Added option up0 and CASE 'wind_temperature'

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

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/src/dissip/nudging_mod.f90

    r969 r972  
    254254           ps2 = f_ps(ind) 
    255255           CALL compute_guided_center2(coef_i, target_ps, ps2) 
     256         CASE ('wind_temperature') 
     257           coef_e = f_relax_coef_e(ind) 
     258           target_ue = f_target_ue(ind) 
     259           ue = f_u(ind) 
     260           CALL compute_guided_u(coef_e, target_ue, ue) 
     261           coef_i = f_relax_coef_i(ind) 
     262           target_theta_rhodz = f_target_theta_rhodz(ind) 
     263           theta_rhodz = f_theta_rhodz(ind) 
     264           CALL compute_guided_center(coef_i, target_theta_rhodz, theta_rhodz) 
    256265         CASE ('wind_temperature_ps') 
    257266           coef_e = f_relax_coef_e(ind) 
  • codes/icosagcm/devel/src/initial/etat0_dcmip4.f90

    r834 r972  
    33  IMPLICIT NONE 
    44  PRIVATE 
    5    
     5  SAVE 
     6 
    67  REAL(rstd),PARAMETER :: eta0=0.252 
    78  REAL(rstd),PARAMETER :: etat=0.2 
     
    1213  REAL(rstd),PARAMETER :: Rd=287 
    1314  REAL(rstd),PARAMETER :: Gamma=0.005 
    14   REAL(rstd),PARAMETER :: up0=1 
    1515  REAL(rstd),PARAMETER :: lonc=Pi/9, latc=2*Pi/9, latw=2*Pi/9 
    1616  REAL(rstd),PARAMETER :: pw=34000 
    1717  REAL(rstd),PARAMETER :: q0=0.021 
     18 
     19  REAL(rstd) :: up0=1.              ! default value, can be modified in run.def 
     20  !$OMP THREADPRIVATE(up0) 
    1821   
    19   INTEGER,SAVE :: testcase 
    20   !$OMP THREADPRIVATE(testcase)   
     22  INTEGER :: testcase 
     23  !$OMP THREADPRIVATE(testcase) 
    2124   
    2225  PUBLIC getin_etat0, compute_etat0 
     
    3437    testcase=1 
    3538    CALL getin("dcmip4_testcase",testcase) 
     39    CALL getin("dcmip4_up0",up0) 
    3640  END SUBROUTINE getin_etat0 
    3741 
Note: See TracChangeset for help on using the changeset viewer.