Changeset 5fc7b68 in flexpart.git for src/get_wetscav.f90


Ignore:
Timestamp:
Jul 16, 2019, 8:45:29 AM (5 years ago)
Author:
Ignacio Pisso <ip@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug
Children:
95a45d3
Parents:
7cebaf3
Message:

small changes in get_wetscav, check positivity of alpha

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/get_wetscav.f90

    r7cebaf3 r5fc7b68  
    295295            liq_frac=0
    296296            ice_frac=1
    297           else if (act_temp .ge. 273.15) then
     297          else if (act_temp .ge. 273.) then
    298298            liq_frac=1
    299299            ice_frac=0
     
    302302! IP bugfix v10.4, calculate ice_frac and liq_frac
    303303            ice_frac= ((act_temp-273.)/(273.-253.))**2.
    304             liq_frac = 1-ice_frac   !((act_temp-253.)/(273.-253.))**2.
    305 
     304            !liq_frac = 1-ice_frac   !((act_temp-253.)/(273.-253.))**2.
     305            liq_frac=max(0.,1.-ice_frac)
    306306          end if
    307307! ZHG: Calculate the aerosol partition based on cloud phase and Ai and Bi
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG