Changeset 3996


Ignore:
Timestamp:
Jan 12, 2026, 9:49:50 AM (16 hours ago)
Author:
jbclement
Message:

Mars PCM:
Deletion of unused legacy code in "initracer.F90".
JBC

Location:
trunk/LMDZ.MARS
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/changelog.txt

    r3974 r3996  
    50065006== 21/11/2025 == JBC
    50075007Simplification of the orbital parameters initialization (resolve ticket #109): removing redundant actions in subroutine 'iniorbit' in regard of what is done in "tabfi.F" and moving the subroutine 'lsp2solp' from "tabfi.F" to "planete_h.F90" + some cleanings.
     5008
     5009== 12/01/2026 == JBC
     5010Deletion of unused legacy code in "initracer.F90".
  • trunk/LMDZ.MARS/libf/phymars/dyn1d/init_testphys1d_mod.F90

    r3918 r3996  
    431431call ini_fillgeom(1,latitude,longitude,(/1.0/))
    432432call conf_phys(1,llm,nq)
    433 call initracer(ngrid,nq,qsurf)
     433call initracer(ngrid,nq)
    434434
    435435! In 1D model physics are called every time step
  • trunk/LMDZ.MARS/libf/phymars/initracer.F90

    r3904 r3996  
    55contains
    66
    7 SUBROUTINE initracer(ngrid,nq,qsurf)
     7SUBROUTINE initracer(ngrid,nq)
    88
    99use tracer_mod
     
    4040integer, intent(in) :: ngrid ! number of atmospheric columns
    4141integer, intent(in) :: nq    ! number of tracers
    42 real, intent(out) :: qsurf(ngrid,nq) ! tracer on surface (e.g.  kg.m-2)
    4342
    4443integer :: iq,ig,count
     
    548547endif
    549548
    550 ! if water cycle but iceparty=.false., there will nevertheless be
    551 ! water ice at the surface (iceparty is not used anymore, but this
    552 ! part is still relevant, as we want to stay compatible with the
    553 ! older versions).
    554 if (water.and.(igcm_h2o_ice == 0)) then
    555     igcm_h2o_ice=igcm_h2o_vap ! so that qsurf(i_h2o_ice) is identified
    556                               ! even though there is no q(i_h2o_ice)
    557 else
    558     ! surface ice qsurf(i_h2o_ice) was loaded twice by phyetat0,
    559     ! as qsurf(i_h2o_vap) & as qsurf(i_h2o_ice), so to be clean:
    560     if (igcm_h2o_vap /= 0) then
    561         qsurf(1:ngrid,igcm_h2o_vap)=0
    562     endif
    563 endif
    564 
    565549! Additional test required for HDO
    566550! We need to compute some things for H2O before HDO
  • trunk/LMDZ.MARS/libf/phymars/physiq_mod.F

    r3974 r3996  
    711711c        initialize tracers
    712712c        ~~~~~~~~~~~~~~~~~~
    713          call initracer(ngrid,nq,qsurf)
     713         call initracer(ngrid,nq)
    714714
    715715c        Initialize albedo and orbital calculation
  • trunk/LMDZ.MARS/libf/phymars/planete_h.F90

    r3974 r3996  
    1717REAL,SAVE :: lsperi    ! Solar longitude of the perihelion, angle in rad
    1818REAL,SAVE :: e_elips   ! Orbit eccentricity
    19 REAL,SAVE :: p_elips   ! Ellipse semi-latus rectum
     19REAL,SAVE :: p_elips   ! Ellipse parameter (semi-latus rectum)
    2020!$OMP THREADPRIVATE(lsperi,e_elips,p_elips)
    2121REAL,PARAMETER :: unitastr=149.597927 ! Astronomical unit AU, in Mkm
  • trunk/LMDZ.MARS/libf/phymars/surfdat_h.F90

    r3582 r3996  
    6262
    6363  implicit none
    64   integer,intent(in) :: ngrid ! number of atmospheric columns
    65   integer,intent(in) :: nq ! number of tracers
    66   integer,intent(in) :: nslope ! number of sub-grid scale slope
     64  integer,intent(in) :: ngrid  ! number of atmospheric columns
     65  integer,intent(in) :: nq     ! number of tracers
     66  integer,intent(in) :: nslope ! number of sub-grid scale slopes
    6767
    6868    allocate(albedodat(ngrid))
Note: See TracChangeset for help on using the changeset viewer.