Changeset 2511 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- Apr 30, 2021, 9:55:53 PM (4 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/phys_state_var_init_mod.F90
r2417 r2511 4 4 5 5 SUBROUTINE phys_state_var_init(ngrid,nlayer,nq,tname, & 6 day_ini, hour_ini,pdaysec,ptimestep, &6 day_ini,day_end,hour_ini,pdaysec,ptimestep, & 7 7 prad,pg,pr,pcpp, & 8 8 dyn_nqperes,dyn_nqfils)! MVals: variables isotopes … … 68 68 INTEGER,INTENT(IN) :: ngrid,nlayer,nq 69 69 CHARACTER(len=*),INTENT(IN) :: tname(nq) 70 INTEGER,INTENT(IN) :: day_ini 70 INTEGER,INTENT(IN) :: day_ini, day_end 71 71 REAL,INTENT(IN) :: hour_ini 72 72 REAL,INTENT(IN) :: pdaysec,ptimestep,prad,pg,pr,pcpp … … 92 92 93 93 ! Initialize some "temporal and calendar" related variables 94 call init_time(day_ini, hour_ini,pdaysec,ptimestep)94 call init_time(day_ini,day_end,hour_ini,pdaysec,ptimestep) 95 95 96 96 ! allocate "slope_mod" arrays -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2508 r2511 86 86 USE vertical_layers_mod, ONLY: ap,bp,aps,bps,presnivs,pseudoalt 87 87 USE mod_phys_lmdz_omp_data, ONLY: is_omp_master 88 USE time_phylmdz_mod, ONLY: day_end 88 89 #endif 89 USE temps_mod, ONLY: day_end90 90 91 91 #ifdef CPP_XIOS -
trunk/LMDZ.MARS/libf/phymars/time_phylmdz_mod.F90
r2266 r2511 11 11 INTEGER,SAVE :: day_ini ! initial day of the run 12 12 !$OMP THREADPRIVATE(day_ini) 13 INTEGER,SAVE :: day_end ! final day of the run 14 !$OMP THREADPRIVATE(day_end) 13 15 REAL,SAVE :: hour_ini ! start time (fraction of day) of the run 14 16 ! 0=<hour_ini<1 … … 26 28 CONTAINS 27 29 28 SUBROUTINE init_time(day_ini_, hour_ini_, daysec_, dtphys_)29 USE ioipsl_getin_p_mod, ONLY : getin_p 30 SUBROUTINE init_time(day_ini_, day_end_, hour_ini_, daysec_, dtphys_) 31 30 32 IMPLICIT NONE 31 33 INTEGER,INTENT(IN) :: day_ini_ 34 INTEGER,INTENT(IN) :: day_end_ 32 35 REAL,INTENT(IN) :: hour_ini_ 33 36 REAL,INTENT(IN) :: daysec_ … … 35 38 36 39 day_ini=day_ini_ 40 day_end=day_end_ 37 41 hour_ini=hour_ini_ 38 42 daysec=daysec_
Note: See TracChangeset
for help on using the changeset viewer.