Changeset 3208 for trunk/LMDZ.MARS
- Timestamp:
- Feb 8, 2024, 4:32:31 PM (10 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3207 r3208 4468 4468 4469 4469 == 07/02/2024 == JBC 4470 - Addition of the possibility to use subslopes paramet ization in 1D. To do so, put 'nslope=x' in "run.def" where x (1, 3, 5 or 7) is the number of slopes you want to, or modify it in an appropriate "startfi.nc". Then, default subslopes definition and distribution are used by the model. The already existing case of using one slope whose inclination and orientation are defined in "run.def" is still possible.4470 - Addition of the possibility to use subslopes parametrization in 1D. To do so, put 'nslope=x' in "run.def" where x (1, 3, 5 or 7) is the number of slopes you want to, or modify it in an appropriate "startfi.nc". Then, default subslopes definition and distribution are used by the model. The already existing case of using one slope whose inclination and orientation are defined in "run.def" is still possible. 4471 4471 - Some cleanings throughout the code, in particular related to unused variables. 4472 4472 … … 4476 4476 == 08/02/2024 == JBC 4477 4477 Modification of r3200 for the 1D model: the 'CO2cond_ps' coefficient (now defined in "co2condens_mod.F") is applied not only to update the surface pressure but also all the tracers and the winds from now on. It is done in "physiq_mod.F" just after the call to 'co2condens'. 4478 4479 == 08/02/2024 == JBC 4480 Following r3203, initialization cases for subslopes parametrization in 1D have been settled: it can be done with 'nslope' in "run.def" or by using an appropriate "startfi.nc". Addition of error/warning messages for the different situations to be user-friendly. -
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.