Ignore:
Timestamp:
Aug 7, 2017, 4:38:48 PM (7 years ago)
Author:
jvatant
Message:

Fixed unitialized radius and qext in initracer

-> These arrays were printed and even tested in callsedim without being initialized !
-> Please stop handling uninitialized values !!!

Also updated README for modif from r1725

JVO

Location:
trunk/LMDZ.GENERIC/libf/phystd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/callsedim.F

    r1477 r1764  
    106106 
    107107      do iq=1,nq
    108        if((radius(iq).gt.1.e-9).and.(iq.ne.igcm_co2_ice)) then   
     108       if((radius(iq).gt.1.e-9).and.(iq.ne.igcm_co2_ice)) then ! JVO 08/2017 : be careful radius was tested uninitialized (fixed) ...
     109       
    109110!         (no sedim for gases, and co2_ice sedim is done in condense_co2)     
    110111
  • trunk/LMDZ.GENERIC/libf/phystd/initracer.F

    r1621 r1764  
    6161       alpha_lift(:)=0.
    6262       alpha_devil(:)=0.
     63       
     64       ! Added by JVO 2017 : these arrays are handled later
     65       ! -> initialization is the least we can do, please !!!
     66       radius(:)=0.
     67       qext(:)=0.
    6368
    6469! Initialization: get tracer names from the dynamics and check if we are
Note: See TracChangeset for help on using the changeset viewer.