Changeset 2808 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Oct 20, 2022, 10:09:46 AM (2 years ago)
Author:
emillour
Message:

Mars GCM:
Bug fix in jthermcalc_e107 (wrong indexes used in some computations involving
NO2 and H2).
AM

Location:
trunk/LMDZ.MARS/libf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/aeronomars/jthermcalc_e107.F

    r2615 r2808  
    238238     $        (wm(i)*auxjo3p(ind+1) + wp(i)*auxjo3p(ind))
    239239         !H2 interpolated coefficient
    240          jfotsout(indexint,5,auxi) = jfotsout(indexint,5,auxi) *
     240         jfotsout(indexint,5,auxi) = jfotsout(indexint,5,nlayer) *
    241241     $        (wm(i)*auxjh2(ind+1) + wp(i)*auxjh2(ind))
    242242      enddo
     
    790790               !NO2 interpolated coefficient
    791791               jfotsout(indexint,13,auxi)=
    792      $              jfotsout(indexint,13,auxi) *
     792     $              jfotsout(indexint,13,nlayer) *
    793793     $              (wm(i)*auxjno2(ind+1)+wp(i)*auxjno2(ind)) *
    794794     $              cortemp(i)
  • trunk/LMDZ.MARS/libf/phymars/physiq_mod.F

    r2685 r2808  
    29992999c        call WRITEDIAGFI(ngrid,"pplay","Pressure","Pa",3,zplay)
    30003000c        call WRITEDIAGFI(ngrid,"pplev","Pressure","Pa",3,zplev)
     3001         call writediagfi(ngrid,"pphi","Geopotential","m2s-2",3,
     3002     &                    pphi)
     3003         call writediagfi(ngrid,"phisfi","Surface geopotential",
     3004     &                    "m2s-2",2,phisfi)
    30013005         call WRITEDIAGFI(ngrid,"tsurf","Surface temperature","K",2,
    30023006     &                  tsurf)
Note: See TracChangeset for help on using the changeset viewer.