Ignore:
Timestamp:
Dec 9, 2025, 3:08:05 PM (9 hours ago)
Author:
lebasn
Message:

StratAer?: remove old params and rename others for coherence (flag_nucl and flag_strat_compo). Use integer instead of boolean to choose compo and nucleation methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/StratAer/ocs_to_so2.f90

    r5268 r5924  
    99  USE yomcst_mod_h, ONLY : RG
    1010  USE phys_local_var_mod, ONLY : OCS_lifetime, budg_3D_ocs_to_so2, budg_ocs_to_so2
    11   USE strataer_local_var_mod, ONLY : flag_min_rreduce
    12 
     11 
    1312  IMPLICIT NONE
    1413
     
    3736            rreduce = OCS_lifetime(ilon,ilev)
    3837            ! Check lifetime rreduce < timestep*3 (such as H2SO4 loss > 0.28*H2SO4) with exp(-1/3)=0.72
    39             IF(flag_min_rreduce) THEN
    40                IF (rreduce .LT. (3.*pdtphys)) rreduce = 3.*pdtphys
    41             ENDIF
     38            IF (rreduce .LT. (3.*pdtphys)) rreduce = 3.*pdtphys
    4239            budg_3D_ocs_to_so2(ilon,ilev)=tr_seri(ilon,ilev,id_OCS_strat)*(1.0-exp(-pdtphys/rreduce))
    4340            tr_seri(ilon,ilev,id_OCS_strat)=tr_seri(ilon,ilev,id_OCS_strat) - budg_3D_ocs_to_so2(ilon,ilev)
Note: See TracChangeset for help on using the changeset viewer.