Changeset 3996 for trunk/LMDZ.MARS/libf/phymars/initracer.F90
- Timestamp:
- Jan 12, 2026, 9:49:50 AM (24 hours ago)
- File:
-
- 1 edited
-
trunk/LMDZ.MARS/libf/phymars/initracer.F90 (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/initracer.F90
r3904 r3996 5 5 contains 6 6 7 SUBROUTINE initracer(ngrid,nq ,qsurf)7 SUBROUTINE initracer(ngrid,nq) 8 8 9 9 use tracer_mod … … 40 40 integer, intent(in) :: ngrid ! number of atmospheric columns 41 41 integer, intent(in) :: nq ! number of tracers 42 real, intent(out) :: qsurf(ngrid,nq) ! tracer on surface (e.g. kg.m-2)43 42 44 43 integer :: iq,ig,count … … 548 547 endif 549 548 550 ! if water cycle but iceparty=.false., there will nevertheless be551 ! water ice at the surface (iceparty is not used anymore, but this552 ! part is still relevant, as we want to stay compatible with the553 ! older versions).554 if (water.and.(igcm_h2o_ice == 0)) then555 igcm_h2o_ice=igcm_h2o_vap ! so that qsurf(i_h2o_ice) is identified556 ! even though there is no q(i_h2o_ice)557 else558 ! 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) then561 qsurf(1:ngrid,igcm_h2o_vap)=0562 endif563 endif564 565 549 ! Additional test required for HDO 566 550 ! We need to compute some things for H2O before HDO
Note: See TracChangeset
for help on using the changeset viewer.
