Ignore:
Timestamp:
Nov 16, 2016, 11:24:01 AM (8 years ago)
Author:
emillour
Message:

Mars GCM:
Bug fix in 1D in physiq, missing "if (co2clouds)" around some operations to
be done only when that option is set.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/physiq_mod.F

    r1621 r1627  
    28122812           endif ! of if (scavenging)
    28132813
    2814           if (scavenging) then
     2814          if (co2clouds) then
     2815           if (scavenging) then
    28152816             Nccntot(:)= 0
    28162817             Mccntot(:)= 0
     
    28422843                if (icetotco2(ig)*1e3.lt.0.01) raveco2(ig)=0.
    28432844             enddo
    2844           else                  ! of if (scavenging)
     2845           else                  ! of if (scavenging)
    28452846             raveco2(:)=0
    28462847             do ig=1,ngrid
     
    28542855     &               max(icetotco2(ig),1.e-30),1.e-30) ! mass weight
    28552856             enddo
    2856           endif                 ! of if (scavenging)
     2857           endif                 ! of if (scavenging)
     2858             
     2859           call WRITEdiagfi(ngrid,"raveco2","ice eff radius","m",0
     2860     &        ,raveco2)
    28572861         
    2858              
    2859          call WRITEdiagfi(ngrid,"raveco2","ice eff radius","m",0
    2860      &        ,raveco2)
     2862          endif ! of if (co2clouds)
    28612863
    28622864           CALL WRITEDIAGFI(ngrid,'reffice',
Note: See TracChangeset for help on using the changeset viewer.