Changeset 2393 for trunk


Ignore:
Timestamp:
Jul 2, 2020, 3:42:37 PM (4 years ago)
Author:
cmathe
Message:

improvedco2clouds_mod: 4.3 => add tauscaling(ig) in condition

File:
1 edited

Legend:

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

    r2392 r2393  
    491491!----------------------------------------------------------------------------------------------------------------------!
    492492      ! we trigger crystal growth
    493       if (zq(ig,l,igcm_ccnco2_number) * tauscaling(ig) +threshold >= 1) then
     493      if (zq(ig,l,igcm_ccnco2_number) * tauscaling(ig) + threshold >= 1) then
    494494
    495495        call updaterice_microco2(zq(ig,l,igcm_co2_ice), zq(ig,l,igcm_ccnco2_mass), zq(ig,l,igcm_ccnco2_number), &
     
    533533!----------------------------------------------------------------------------------------------------------------------!
    534534        ! On sublime tout
    535         if ((zq(ig,l,igcm_co2_ice) <= threshold).or.(zq(ig,l,igcm_ccnco2_number) < 1.)) then
     535        if ((zq(ig,l,igcm_co2_ice) <= threshold).or.(zq(ig,l,igcm_ccnco2_number)* tauscaling(ig) < 1.)) then
    536536
    537537          if (co2useh2o) then
     
    558558          zq(ig,l,igcm_co2) = zq(ig,l,igcm_co2)  + zq(ig,l,igcm_co2_ice)
    559559
     560          zq(ig,l,igcm_co2_ice) = 0.
    560561          zq(ig,l,igcm_ccnco2_mass) = 0.
    561           zq(ig,l,igcm_co2_ice) = 0.
    562562          zq(ig,l,igcm_ccnco2_number) = 0.
    563563          mem_Nccn_co2(ig,l) = 0.
Note: See TracChangeset for help on using the changeset viewer.