Ignore:
Timestamp:
Nov 13, 2018, 6:03:56 PM (6 years ago)
Author:
jvatant
Message:

Fix a bug on a haze opt properties in case of vertical extension.
--JVO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/disr_haze.F90

    r1792 r2040  
    106106else if ((ip.ne.nblev_PL) .and. (iw.eq.nbwl_PL)) then
    107107
    108 taeros =  ext_PL(ip,iw)**(1.-factp)  * ext_PL(ip+1,iw)**factp
    109        
     108taeros =  ext_PL(ip,iw)**(1.-factp) * ext_PL(ip+1,iw)**factp
    110109ssa    =  ssa_PL(ip,iw)**(1.-factp) * ssa_PL(ip+1,iw)**factp
    111        
    112110cbar   =  asf_PL(ip,iw)**(1.-factp) * asf_PL(ip+1,iw)**factp
    113111
     
    132130           / ( ext_PL(ip-5,iw)*(1.-factw) + ext_PL(ip-5,iw+1)  *factw ) )
    133131           
    134      taeros = ext_PL(ip,iw)*(1.-factw) + ext_PL(ip,iw+1)  *factw
     132     taeros =  ext_PL(ip,iw)*(1.-factw) + ext_PL(ip,iw+1)*factw
     133     ssa    =  ssa_PL(ip,iw)*(1.-factw) + ssa_PL(ip,iw+1)*factw
     134     cbar   =  asf_PL(ip,iw)*(1.-factw) + asf_PL(ip,iw+1)*factw
    135135
    136136  else if (iw.eq.nbwl_PL) then
     
    138138     fact_t = log10( ext_PL(ip,iw) / ext_PL(ip-5,iw) )
    139139   
    140      taeros = ext_PL(ip,iw)
     140     taeros =  ext_PL(ip,iw)
     141     ssa    =  ssa_PL(ip,iw)
     142     cbar   =  asf_PL(ip,iw)
    141143
    142144  endif
Note: See TracChangeset for help on using the changeset viewer.