Changeset 2173 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Nov 5, 2019, 10:44:00 AM (5 years ago)
Author:
emillour
Message:

Mars GCM:
Update non orographic GW routine so that key parameter RUWMAX is read in
from callphys.def
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/nonoro_gwd_ran_mod.F90

    r2149 r2173  
    2828      use comcstfi_h, only: g, pi, cpp, r
    2929!      use comgeomfi_h, only: latitude
     30      USE ioipsl_getin_p_mod, ONLY : getin_p
    3031      implicit none
    3132
     
    9293
    9394    REAL RUW0(NW, KLON) ! Fluxes at launching level
    94     REAL RUWMAX         ! Max value
     95    REAL,SAVE :: RUWMAX         ! Max value
    9596    INTEGER LAUNCH      ! Launching altitude
    9697    REAL XLAUNCH        ! Control the launching altitude
     
    139140        d_u_sav(:,:) = 0.
    140141        d_v_sav(:,:) = 0.
     142        RUWMAX=1.E-4
     143        CALL getin_p("nonoro_gwd_RUWMAX",RUWMAX)
     144        write(*,*) "nonoro_gwd_ran: RUWMAX=",RUWMAX
    141145        firstcall=.false.
    142146      ENDIF
     
    150154
    151155    !  PARAMETERS CORRESPONDING TO V3:
    152      RUWMAX  = 1.e-4      ! best-case for MCS comparison
     156!     RUWMAX  = 1.e-4      ! best-case for MCS comparison
     157!      RUWMAX = 5.e-6
    153158!     RUWMAX  = 1.e-3 
    154159
Note: See TracChangeset for help on using the changeset viewer.