Changeset 3208 for trunk/LMDZ.MARS/libf
- Timestamp:
- Feb 8, 2024, 4:32:31 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/init_testphys1d_mod.F90
r3207 r3208 84 84 ! Local variables 85 85 !======================================================================= 86 integer :: ierr, iq, j, ilayer, isoil, nlevel, nsoil, flagthermo, flagh2o 86 integer :: ierr, iq, j, ilayer, isoil, nlevel, nsoil, flagthermo, flagh2o, nslope_tmp 87 87 integer :: dayn ! Final date 88 88 real, dimension(nlayer) :: zlay ! altitude estimee dans les couches (km) … … 410 410 ! Initialize local slope parameters 411 411 ! --------------------------------- 412 nslope = 1 ! default: one slope 412 nslope_tmp = nslope 413 write(*,*)'Number of slopes?' ! Number of subgrid scale slopes 414 call getin("nslope",nslope_tmp) 415 write(*,*) " nslope = ", nslope_tmp 413 416 if (.not. therestartfi) then 414 ! Number of subgrid scale slopes 415 write(*,*)'Number of slopes?' 416 call getin("nslope",nslope) 417 write(*,*) " nslope = ", nslope 417 nslope = nslope_tmp 418 418 call end_comslope_h 419 419 call ini_comslope_h(1,nslope) … … 479 479 call end_paleoclimate_h 480 480 call ini_paleoclimate_h(1,nslope) 481 482 ! Fraction of subslopes in mesh 483 !write(*,*)'What subslope distribution do you want to use?' 484 !call getin("slope_distribution",subslope_dist) 485 !write(*,*) " subslope_dist = ", subslope_dist(1,:) 481 else 482 if (nslope /= nslope_tmp) then 483 error stop 'Number of slopes not compatible between "startfi.nc" and "run.def".' 484 else 485 write(*,*) 'Be careful: subslopes distribution and definition are taken from "startfi.nc" and not initialized by default!' 486 endif 486 487 endif 487 488
Note: See TracChangeset
for help on using the changeset viewer.