Ignore:
Timestamp:
Sep 11, 2013, 12:23:22 PM (11 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/aeronomars/concentrations.F

    r635 r1035  
    271271               iq = niq(i)
    272272               ni(iq) = ntot*zq(ig,l,iq)*mmean(ig,l)/mmol(iq)
    273                cpnew(ig,l) = cpnew(ig,l) + ni(iq)*cpi(iq)
    274                akknew(ig,l) = akknew(ig,l) + ni(iq)*aki(iq)
     273               cpnew(ig,l) = cpnew(ig,l) + ni(iq)*cpi(i)
     274               akknew(ig,l) = akknew(ig,l) + ni(iq)*aki(i)
    275275            end do
    276276            cpnew(ig,l) = cpnew(ig,l)/ntot
Note: See TracChangeset for help on using the changeset viewer.