Changeset 327 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Oct 25, 2011, 4:09:42 PM (13 years ago)
Author:
acolaitis
Message:

I found that ztcond was called up to nlay+1 and defined as (ngrid,nlay). I wonder how the model was able to run with that, and why the compiler with -debug was not complaining.

File:
1 edited

Legend:

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

    r120 r327  
    103103      REAL zt(ngridmx,nlayermx)
    104104      REAL zcpi
    105       REAL ztcond (ngridmx,nlayermx)
     105      REAL ztcond (ngridmx,nlayermx+1)
    106106      REAL ztcondsol(ngridmx)
    107107      REAL zdiceco2(ngridmx)
     
    278278         ENDDO
    279279      ENDDO
     280
     281      ztcond(:,nlay+1)=ztcond(:,nlay)
    280282 
    281283c      Condensation/sublimation in the atmosphere
Note: See TracChangeset for help on using the changeset viewer.