Changeset 1438


Ignore:
Timestamp:
May 29, 2015, 10:27:51 AM (10 years ago)
Author:
aslmd
Message:

MESOSCALE. a more adapted exclusion of LMDZ-specific stuff

File:
1 edited

Legend:

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

    r1432 r1438  
    546546
    547547            zmflux(1) = -zcondices(ig)
    548 #ifdef MESOSCALE
    549             print *,"newcondens: have to do something"
    550             print *,"specific for MESOSCALE here"
    551             print *,"-- I don't know bp!!!"
    552             stop
    553 #else
    554548            DO l=1,nlayer
    555549             zmflux(l+1) = zmflux(l) -zcondicea(ig,l)
     550#ifndef MESOSCALE
    556551     &        + (bp(l)-bp(l+1))*(zfallice(ig,1)-zmflux(1))
    557552c zmflux set to 0 if very low to avoid: top layer is disappearing in v1ld 
    558553          if (abs(zmflux(l+1)).lt.1E-13.OR.bp(l+1).eq.0.) zmflux(l+1)=0.
     554#else
     555          if (abs(zmflux(l+1)).lt.1E-13) zmflux(l+1)=0.
     556#endif
    559557            END DO
    560 #endif
    561558
    562559c Mass of each layer
Note: See TracChangeset for help on using the changeset viewer.