Changeset 3996
- Timestamp:
- Jan 12, 2026, 9:49:50 AM (16 hours ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 6 edited
-
changelog.txt (modified) (1 diff)
-
libf/phymars/dyn1d/init_testphys1d_mod.F90 (modified) (1 diff)
-
libf/phymars/initracer.F90 (modified) (3 diffs)
-
libf/phymars/physiq_mod.F (modified) (1 diff)
-
libf/phymars/planete_h.F90 (modified) (1 diff)
-
libf/phymars/surfdat_h.F90 (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3974 r3996 5006 5006 == 21/11/2025 == JBC 5007 5007 Simplification 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 5010 Deletion of unused legacy code in "initracer.F90". -
trunk/LMDZ.MARS/libf/phymars/dyn1d/init_testphys1d_mod.F90
r3918 r3996 431 431 call ini_fillgeom(1,latitude,longitude,(/1.0/)) 432 432 call conf_phys(1,llm,nq) 433 call initracer(ngrid,nq ,qsurf)433 call initracer(ngrid,nq) 434 434 435 435 ! In 1D model physics are called every time step -
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 -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r3974 r3996 711 711 c initialize tracers 712 712 c ~~~~~~~~~~~~~~~~~~ 713 call initracer(ngrid,nq ,qsurf)713 call initracer(ngrid,nq) 714 714 715 715 c Initialize albedo and orbital calculation -
trunk/LMDZ.MARS/libf/phymars/planete_h.F90
r3974 r3996 17 17 REAL,SAVE :: lsperi ! Solar longitude of the perihelion, angle in rad 18 18 REAL,SAVE :: e_elips ! Orbit eccentricity 19 REAL,SAVE :: p_elips ! Ellipse semi-latus rectum19 REAL,SAVE :: p_elips ! Ellipse parameter (semi-latus rectum) 20 20 !$OMP THREADPRIVATE(lsperi,e_elips,p_elips) 21 21 REAL,PARAMETER :: unitastr=149.597927 ! Astronomical unit AU, in Mkm -
trunk/LMDZ.MARS/libf/phymars/surfdat_h.F90
r3582 r3996 62 62 63 63 implicit none 64 integer,intent(in) :: ngrid ! number of atmospheric columns65 integer,intent(in) :: nq ! number of tracers66 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 67 67 68 68 allocate(albedodat(ngrid))
Note: See TracChangeset
for help on using the changeset viewer.
