Ignore:
Timestamp:
Dec 17, 2021, 10:28:22 AM (3 years ago)
Author:
emillour
Message:

Mars GCM:
Move "zls" (solar longitude) from being a local variable of physiq
to module comsaison_h. This is for convenience (saving zls and making
it available to the "plasma dynamical core").
Also cleaned up and commented comsaison_h in the process.
JYC+EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/comsaison_h.F90

    r2578 r2597  
    33implicit none
    44
    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)
    1110  real,save,allocatable :: local_time(:) ! local solar time as fraction of day (0,1)
    1211
    13 !$OMP THREADPRIVATE(callsais,isaison,dist_sol,declin,mu0,fract,local_time)
     12!$OMP THREADPRIVATE(dist_sol,declin,zls,mu0,fract,local_time)
    1413
    1514contains
Note: See TracChangeset for help on using the changeset viewer.