Ignore:
Timestamp:
Sep 11, 2013, 12:23:22 PM (12 years ago)
Author:
emillour
Message:

Mars GCM:

  • Bug fix in vdifc.F: in some cases, some elements of pdqsdif() were not given any value. In all cases, it is safer to start with clean initialization of output tendencies to zero.
  • Bug fix in concentration.F: error in cpi() and aki() indexes led to wrong computation of atmospheric conductivity and specific heat.

EM

File:
1 edited

Legend:

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

    r884 r1035  
    206206
    207207      nlev=nlay+1
     208
     209      ! initialize output tendencies to zero:
     210      pdudif(1:ngrid,1:nlay)=0
     211      pdvdif(1:ngrid,1:nlay)=0
     212      pdhdif(1:ngrid,1:nlay)=0
     213      pdtsrf(1:ngrid)=0
     214      pdqdif(1:ngrid,1:nlay,1:nq)=0
     215      pdqsdif(1:ngrid,1:nq)=0
    208216
    209217c    ** calcul de rho*dz et dt*rho/dz=dt*rho**2 g/dp
Note: See TracChangeset for help on using the changeset viewer.