Changeset 703 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Jun 12, 2012, 4:29:19 PM (13 years ago)
Author:
tnavarro
Message:

corrected bug of tracers handling in watercloud that led to a incorrect CO2 depletion. Actually, all non-water cycle tracers were not modified by processes that occur before watercloud between commit 633 and this one.

File:
1 edited

Legend:

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

    r654 r703  
    262262       ENDDO
    263263c------ Tracers tendencies pdqcloud
    264        DO iq=1,nq
    265         DO l=1,nlay
     264       DO l=1,nlay
    266265         DO ig=1,ngrid
    267             pdqcloud(ig,l,iq) = subpdq(ig,l,iq)/real(imicro)
    268      &       - pdq(ig,l,iq)
     266            pdqcloud(ig,l,igcm_h2o_ice) =
     267     &        subpdq(ig,l,igcm_h2o_ice)/real(imicro)
     268     &       - pdq(ig,l,igcm_h2o_ice)
     269            pdqcloud(ig,l,igcm_h2o_vap) =
     270     &        subpdq(ig,l,igcm_h2o_vap)/real(imicro)
     271     &       - pdq(ig,l,igcm_h2o_vap)
     272          IF(microphys) THEN
     273            pdqcloud(ig,l,igcm_dust_mass) =
     274     &        subpdq(ig,l,igcm_dust_mass)/real(imicro)
     275     &       - pdq(ig,l,igcm_dust_mass)
     276            pdqcloud(ig,l,igcm_dust_number) =
     277     &        subpdq(ig,l,igcm_dust_number)/real(imicro)
     278     &       - pdq(ig,l,igcm_dust_number)
     279            pdqcloud(ig,l,igcm_ccn_mass) =
     280     &        subpdq(ig,l,igcm_ccn_mass)/real(imicro)
     281     &       - pdq(ig,l,igcm_ccn_mass)
     282            pdqcloud(ig,l,igcm_ccn_number) =
     283     &        subpdq(ig,l,igcm_ccn_number)/real(imicro)
     284     &       - pdq(ig,l,igcm_ccn_number)
     285           ENDIF
    269286         ENDDO
    270         ENDDO
    271287       ENDDO
    272288
Note: See TracChangeset for help on using the changeset viewer.