Changeset 3249 for trunk/LMDZ.MARS/libf
- Timestamp:
- Mar 4, 2024, 8:23:10 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/init_testphys1d_mod.F90
r3208 r3249 661 661 ! Initialize depths 662 662 ! ----------------- 663 do isoil = 1,nsoil664 layer(isoil) = 2.e-4*(2.**(isoil - 1)) !layer depth663 do isoil = 0,nsoil - 1 664 mlayer(isoil) = 2.e-4*(1 + isoil**2.9*(1 - exp(-real(isoil)/20.))) ! mid layer depth 665 665 enddo 666 do isoil = 1,nsoil - 1 667 layer(isoil) = (mlayer(isoil) + mlayer(isoil - 1))/2 668 enddo 669 layer(nsoil) = 2*mlayer(nsoil - 1) - mlayer(nsoil - 2) 666 670 667 671 ! Creating the new soil inertia table if there is subsurface ice: … … 706 710 if (.not. therestartfi) qsoil = 0. 707 711 708 ! Initialize depths709 ! -----------------710 do isoil = 0,nsoil - 1711 mlayer(isoil) = 2.e-4*(1 + isoil**2.9*(1 - exp(-real(isoil)/20.))) ! mid layer depth712 enddo713 do isoil = 1,nsoil - 1714 layer(isoil) = (mlayer(isoil) + mlayer(isoil - 1))/2715 enddo716 layer(nsoil) = 2*mlayer(nsoil - 1) - mlayer(nsoil - 2)717 718 712 ! Initialize traceurs 719 713 ! -------------------
Note: See TracChangeset
for help on using the changeset viewer.