Changeset 2429 for trunk


Ignore:
Timestamp:
Nov 5, 2020, 4:28:35 PM (4 years ago)
Author:
emillour
Message:

Mars GCM:
Bug fix in jthermcalc_e107.F: correctly account for the actual Sun-Mars
distance.
FGG

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r2425 r2429  
    31933193to avoid unwanted temporal interpolation in read_dust_scenario, the time
    31943194axis there should simply contain integers.
     3195
     3196== 05/11/2020 == FGG
     3197Bug fix in jthermcalc_e107.F: correctly account for the actual Sun-Mars
     3198distance.
     3199
  • trunk/LMDZ.MARS/libf/aeronomars/jthermcalc_e107.F

    r1684 r2429  
    1818     .    nabs,e107,date_e107,e107_tab,
    1919     .    coefit0,coefit1,coefit2,coefit3,coefit4
     20      use comsaison_h, only: dist_sol
    2021
    2122      implicit none
     
    2526c     input and output variables
    2627
    27       integer    ig,nlayer
    28       integer    chemthermod
    29       integer    nesptherm                      !Number of species considered
    30       real       rm(nlayer,nesptherm)         !Densities (cm-3)
    31       real       tx(nlayer)                   !temperature
    32       real       zenit                          !SZA
    33       real       iz(nlayer)                   !Local altitude
    34       real       zday                           !Martian day after Ls=0
    35 
     28      integer,intent(in) :: ig,nlayer
     29      integer,intent(in) :: chemthermod
     30      integer,intent(in) :: nesptherm          !Number of species considered
     31      real,intent(in) :: rm(nlayer,nesptherm)  !Densities (cm-3)
     32      real,intent(in) :: tx(nlayer)            !temperature
     33      real,intent(in) :: zenit         !SZA
     34      real,intent(in) :: iz(nlayer)    !Local altitude
     35      real,intent(in) :: zday          !Martian day after Ls=0
     36
     37! NB: no output variable! (computed jfotsout() is in module param_v4_h)
    3638
    3739c    local parameters and variables
     
    11151117c     End of interpolation to obtain photoabsorption rates
    11161118
    1117 
    1118       return
     1119c     Correction to the actual Sun-Mars distance
     1120
     1121      jfotsout(:,:,:)=jfotsout(:,:,:)*(1.52/dist_sol)**2
    11191122
    11201123      end
Note: See TracChangeset for help on using the changeset viewer.