Changeset 4805


Ignore:
Timestamp:
Feb 8, 2024, 9:16:51 AM (11 months ago)
Author:
lebasn
Message:

Bugfix in large scale scavenging: variable frac_aer (use for aerosols) was only on the first step and not stored for next timesteps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/lsc_scav.F90

    r4625 r4805  
    6767!  frac_ev = frac_gas ou frac_aer
    6868  REAL,PARAMETER :: frac_gas=1.0  ! cste pour la reevaporation pour les gaz
    69   REAL           :: frac_aer      ! cste pour la reevaporation pour les particules
     69  REAL,SAVE      :: frac_aer      ! cste pour la reevaporation pour les particules
    7070  REAL,DIMENSION(klon,klev) :: deltaP     ! P(i+1)-P(i)
    7171  REAL,DIMENSION(klon,klev) :: beta_ev    !  dP/P(i+1)
     72!$OMP THREADPRIVATE(frac_aer)
    7273
    7374!  101.325  m3/l x Pa/atm
Note: See TracChangeset for help on using the changeset viewer.