Changeset 2597
- Timestamp:
- Dec 17, 2021, 10:28:22 AM (3 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r2594 r2597 3549 3549 - missing rho at launch altitude 3550 3550 - changed inputs, because R and Cp are needed to compute rho and BV 3551 3552 == 17/12/2021 == JYC+EM 3553 Move "zls" (solar longitude) from being a local variable of physiq 3554 to module comsaison_h. This is for convenience (saving zls and making 3555 it available to the "plasma dynamical core"). 3556 Also cleaned up and commented comsaison_h in the process. 3557 -
trunk/LMDZ.MARS/libf/phymars/comsaison_h.F90
r2578 r2597 3 3 implicit none 4 4 5 logical,save :: callsais 6 integer,save :: isaison 7 real,save :: dist_sol 8 real,save :: declin 9 real,save,allocatable :: mu0(:) 10 real,save,allocatable :: fract(:) 5 real,save :: dist_sol ! Sun-Mars distance (AU) 6 real,save :: declin ! declination (rad) 7 real,save :: zls ! solar longitude (rad) 8 real,save,allocatable :: mu0(:) ! cosine of solar zenith angle 9 real,save,allocatable :: fract(:) ! day fraction over the time interval (0: night, 1: day) 11 10 real,save,allocatable :: local_time(:) ! local solar time as fraction of day (0,1) 12 11 13 !$OMP THREADPRIVATE( callsais,isaison,dist_sol,declin,mu0,fract,local_time)12 !$OMP THREADPRIVATE(dist_sol,declin,zls,mu0,fract,local_time) 14 13 15 14 contains -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2594 r2597 54 54 & capcal, fluxgrd, qsurf, 55 55 & hmons,summit,base,watercap,watercaptag 56 use comsaison_h, only: dist_sol, declin, mu0, fract, local_time 56 use comsaison_h, only: dist_sol, declin, zls, 57 & mu0, fract, local_time 57 58 use slope_mod, only: theta_sl, psi_sl 58 59 use conc_mod, only: rnew, cpnew, mmean … … 316 317 REAL tau(ngrid,naerkind) ! Column dust optical depth at each point 317 318 ! AS: TBD: this one should be in a module ! 318 REAL zls ! solar longitude (rad)319 319 REAL zday ! date (time since Ls=0, in martian days) 320 320 REAL zzlay(ngrid,nlayer) ! altitude at the middle of the layers
Note: See TracChangeset
for help on using the changeset viewer.