Changeset 2267 for trunk


Ignore:
Timestamp:
Mar 27, 2020, 1:11:45 AM (5 years ago)
Author:
aslmd
Message:

MESOSCALE generic. fixed dummy nday. fixed ticket #37, see details there, but use of getin_p is now working without the need to replace everywhere by getin. it was mostly about passing MPI communicator to the physics interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/dynphy_wrf_generic_lmd_new/iniphysiq_mod.F

    r2068 r2267  
    77                     prad,pg,pr,pcpp,iflag_phys)
    88
    9 use control_mod, only: nday
     9!use control_mod, only: nday
    1010!use surf_heat_transp_mod, only: ini_surf_heat_transp
    1111!use infotrac, only : nqtot ! number of advected tracers
     
    1919!                        latitude ! latitudes (rad)
    2020! necessary to get klon_omp
    21 USE mod_phys_lmdz_para, ONLY: klon_omp ! number of columns (on local omp grid)
     21!USE mod_phys_lmdz_para, ONLY: klon_omp ! number of columns (on local omp grid)
     22USE mod_phys_lmdz_para, ONLY: Init_phys_lmdz_para
    2223USE dimphy, ONLY: init_dimphy
    2324USE phys_state_var_mod
     
    3738implicit none
    3839
     40INCLUDE 'mpif.h'
     41
    3942REAL,intent(in) :: prad
    4043REAL,intent(in) :: pg
     
    5154integer,intent(in) :: pdayref ! reference day of for the simulation [day_ini]
    5255integer,intent(in) :: iflag_phys ! type of physics to be called
     56
     57integer :: nday=0 ! this is dummy for mesoscale (in dyn3d/control_mod)
    5358
    5459integer,intent(in) :: ngrid ! number of physics columns for this MPI process
     
    7479  !------------------------------------------
    7580
     81CALL Init_phys_lmdz_para(1,1,1,MPI_COMM_WORLD)
    7682
    7783!call phys_state_var_init
Note: See TracChangeset for help on using the changeset viewer.