Changeset 2068 for trunk/MESOSCALE
- Timestamp:
- Jan 18, 2019, 12:25:29 PM (6 years ago)
- Location:
- trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/dynphy_wrf_generic_lmd_new
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/dynphy_wrf_generic_lmd_new/callphysiq_mod.F
r2011 r2068 8 8 CONTAINS 9 9 10 SUBROUTINE call_physiq(planet_type,klon,llm,nqtot, tname,&10 SUBROUTINE call_physiq(planet_type,klon,llm,nqtot, & 11 11 debut_split,lafin_split) 12 12 13 13 USE variables_mod 14 14 USE physiq_mod, ONLY: physiq … … 24 24 LOGICAL,INTENT(IN) :: debut_split ! .true. if very first call to physics 25 25 LOGICAL,INTENT(IN) :: lafin_split ! .true. if last call to physics 26 REAL*8,INTENT(IN) :: JD_cur ! Julian day27 REAL*8,INTENT(IN) :: JH_cur_split ! Julian hour (fraction of day)28 26 29 27 ! Local variables -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/dynphy_wrf_generic_lmd_new/iniphysiq_mod.F
r2011 r2068 3 3 CONTAINS 4 4 5 subroutine iniphysiq(ngrid,nlayer,nq,p hour_ini,piphysiq,&6 punjours, pdayref, ptimestep,&5 subroutine iniphysiq(ngrid,nlayer,nq,piphysiq,& 6 punjours, pdayref, & 7 7 prad,pg,pr,pcpp,iflag_phys) 8 8 … … 43 43 REAL,intent(in) :: punjours 44 44 !DOUBLE PRECISION,intent(in) :: ptimestep 45 REAL*8,intent(in) :: phour_ini46 45 47 46 !real,intent(in) :: prad ! radius of the planet (m) … … 51 50 !real,intent(in) :: punjours ! length (in s) of a standard day [daysec] 52 51 integer,intent(in) :: pdayref ! reference day of for the simulation [day_ini] 53 real*8,intent(in) :: ptimestep !physics time step (s) [dtphys]54 52 integer,intent(in) :: iflag_phys ! type of physics to be called 55 53 … … 67 65 real*8 :: lat(ngrid),long(ngrid),cellarea(ngrid) 68 66 REAL*8 :: pprad,ppg,ppr,ppcpp,ppunjours 67 REAL*8 :: dummy 69 68 ! the common part for all planetary physics 70 69 !------------------------------------------ … … 92 91 !endif 93 92 94 93 dummy=1. 95 94 lat(:)=0. 96 95 long(:)=0. … … 103 102 ppr=pr 104 103 ppcpp=pcpp 105 call inifis(ngrid,nlayer,nq,pdayref,ppunjours,nday, ptimestep, &104 call inifis(ngrid,nlayer,nq,pdayref,ppunjours,nday,dummy, & 106 105 lat,long,cellarea,pprad,ppg,ppr,ppcpp) 107 106 -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/dynphy_wrf_generic_lmd_new/update_inputs_physiq_mod.F
r2061 r2068 24 24 INTEGER, INTENT(IN) :: JULDAY, JULYR 25 25 REAL, INTENT(IN) :: GMT,elaps,lon_input,ls_input,lct_input 26 REAL*8,INTENT(OUT) :: pday,ptime27 26 REAL,INTENT(OUT) :: MY 28 27 REAL :: sec,nsec … … 70 69 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 71 70 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 72 SUBROUTINE update_inputs_physiq_tracers(nq,MARS_MODE ,tname)71 SUBROUTINE update_inputs_physiq_tracers(nq,MARS_MODE) 73 72 74 73 use tracer_h, only: noms,nqtot … … 77 76 INTEGER, INTENT(IN) :: nq,MARS_MODE 78 77 INTEGER :: i,k 79 CHARACTER(len=20), INTENT(INOUT) :: tname(nq) ! tracer names78 ! CHARACTER(len=20), INTENT(INOUT) :: tname(nq) ! tracer names 80 79 logical :: end_of_file 81 80 … … 88 87 nqtot=nq 89 88 if (MARS_MODE .eq. 1) THEN 90 tname(1)="h2o_vap"91 tname(2)="h2o_ice"89 noms(1)="h2o_vap" 90 noms(2)="h2o_ice" 92 91 else if (MARS_MODE .eq. 22) then 93 tname(1)="co2_vap"94 tname(2)="co2_ice"92 noms(1)="co2_vap" 93 noms(2)="co2_ice" 95 94 else 96 tname(:)="zolbxs"95 noms(:)="zolbxs" 97 96 endif 98 noms(:)=tname(:)97 !noms(:)=tname(:) 99 98 print*,'noms',noms 100 99 !!---------------------!!
Note: See TracChangeset
for help on using the changeset viewer.