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

File:
1 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)
Note: See TracChangeset for help on using the changeset viewer.