Ignore:
Timestamp:
Aug 28, 2016, 2:22:51 PM (8 years ago)
Author:
aslmd
Message:

moved planet type to namelist entry. default is Mars.

Location:
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/Registry/Registry.EM.newphys

    r1236 r1584  
    11261126####### MARS SPECIFIC NAMELIST ENTRIES
    11271127#######
     1128rconfig  character planet   namelist,physics  1            "mars"   -    "planet"    "selection of the planet" ""
    11281129rconfig  integer  mars      namelist,physics  max_domains  0        rh   "mars"      "model mode"              ""
    11291130rconfig  real     init_TI   namelist,physics  max_domains  0        irh  "init_TI"   "thermal inertia"         ""
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/dyn_em/solve_em.F

    r1236 r1584  
    858858           ! mode
    859859     &        ,MARS_MODE=config_flags%mars   &
     860#ifdef NEWPHYS
     861           ! planet
     862     &        ,planet_type=config_flags%planet   &
     863#endif
    860864           ! added variables
    861865     &        ,M_ALBEDO=grid%m_albedo,M_TI=grid%m_ti  &
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F.new

    r1580 r1584  
    3131        num_3d_s,SCALAR, &
    3232        MARS_MODE, &
     33        planet_type, &
    3334        M_ALBEDO,M_TI,M_CO2ICE,M_EMISS, &
    3435        M_H2OICE,M_TSOIL,M_Q2,M_TSURF, &
     
    7576!==================================================================
    7677
     78CHARACTER(len=10),INTENT(IN) :: planet_type
    7779! WRF Dimensions
    7880INTEGER, INTENT(IN   )    ::   &
     
    199201   REAL,ALLOCATABLE :: zrfi_omp(:,:) ! relative wind vorticity, in s-1
    200202
    201    !! this is temporary and supposed to be set by namelist
    202    character(len=10),save :: planet_type ! planet type ('earth','mars',...)
    203    planet_type = "mars"
    204 
    205203!==================================================================
    206204! CODE
Note: See TracChangeset for help on using the changeset viewer.