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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.