Changeset 1035


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

Location:
trunk/LMDZ.MARS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r1032 r1035  
    18921892- Cleaned and commented version of thermal plume model with automatic arrays
    18931893- Checked: exact same results than before modifications
     1894
     1895== 09/11/2013 == EM
     1896- Bug fix in vdifc.F: in some cases, some elements of pdqsdif() were not given
     1897  any value. In all cases, it is safer to start with clean initialization of
     1898  output tendencies to zero.
     1899- Bug fix in concentration.F: error in cpi() and aki() indexes led to
     1900  wrong computation of atmospheric conductivity and specific heat.
  • 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
  • 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
  • trunk/LMDZ.MARS/makegcm_ifort

    r1001 r1035  
    384384        else if $LINUX then
    385385           ## for ifort
    386              set optim=" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"
    387              set optim90=" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"
    388              set optimtru90=" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"
     386             set optim=" -g -O0 -fpe-all=0 -traceback -ftrapuv -fp-stack-check -check all -debug"
     387             set optim90=" -g -O0 -fpe-all=0 -traceback -ftrapuv -fp-stack-check -check all -debug"
     388             set optimtru90=" -g -O0 -fpe-all=0 -traceback -ftrapuv -fp-stack-check -check all -debug"
    389389        else
    390390           echo "pas d option debug predefinie pour cette machine"
Note: See TracChangeset for help on using the changeset viewer.