Changeset 4180 for trunk/LMDZ.COMMON/libf/evolution/config.F90
- Timestamp:
- Apr 10, 2026, 7:17:55 PM (6 hours ago)
- File:
-
- 1 edited
-
trunk/LMDZ.COMMON/libf/evolution/config.F90 (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/config.F90
r4170 r4180 17 17 ! DEPENDENCIES 18 18 ! ------------ 19 use numerics, only: dp, di, k4, minieps19 use numerics, only: dp, di, k4, eps 20 20 21 21 ! DECLARATION … … 240 240 ! DEPENDENCIES 241 241 ! ------------ 242 use stoppage, only: stop_clean 243 use soil, only: do_soil, reg_thprop_dependp, flux_geo 244 use sorption, only: do_sorption 245 use orbit, only: evo_orbit 246 use evolution, only: pem_ini_date 247 use ice_table, only: icetable_equilibrium, icetable_dynamic 248 use display, only: print_msg, LVL_WRN 242 use stoppage, only: stop_clean 243 use soil, only: do_soil, reg_thprop_dependp, flux_geo 244 use sorption, only: do_sorption 245 use orbit, only: evo_orbit 246 use evolution, only: pem_ini_date 247 use ice_table, only: icetable_equilibrium, icetable_dynamic 248 use glaciers, only: h2oice_flow, co2ice_flow 249 use layered_deposits, only: do_layering 250 use display, only: print_msg, LVL_WRN 249 251 250 252 ! DECLARATION … … 255 257 ! ---- 256 258 ! Warnings (possible incompatibilities) 257 if (evo_orbit .and. abs(pem_ini_date) < minieps) call print_msg('''evo_orbit = .true.'' but the initial date of the PEM is set to 0!',LVL_WRN) 259 if (evo_orbit .and. abs(pem_ini_date) < eps) call print_msg('''evo_orbit = .true.'' but the initial date of the PEM is set to 0!',LVL_WRN) 260 if (abs(flux_geo) > eps .and. .not. do_soil) call print_msg('soil is not activated but flux_geo /= 0!',LVL_WRN) 258 261 259 262 ! Errors (true incompatibilities) 260 263 if (.not. do_soil) then 261 264 if (icetable_equilibrium .or. icetable_dynamic) call stop_clean(__FILE__,__LINE__,'ice table must be used when do_soil = true!',1) 262 if (abs(flux_geo) > minieps) call stop_clean(__FILE__,__LINE__,'soil is not activated but flux_geo /= 0!',1)263 265 if (reg_thprop_dependp) call stop_clean(__FILE__,__LINE__,'regolith properties vary according to Ps only when soil = true!',1) 264 266 if (do_sorption) call stop_clean(__FILE__,__LINE__,'do_soil must be true when do_sorption = true!',1) 265 267 end if 268 if (do_layering .and. h2oice_flow) call stop_clean(__FILE__,__LINE__,'layering and H2O ice flow cannot be activated at the same time!',1) 269 if (do_layering .and. co2ice_flow) call stop_clean(__FILE__,__LINE__,'layering and CO2 ice flow cannot be activated at the same time!',1) 266 270 267 271 END SUBROUTINE check_config_incompatibility … … 458 462 call print_msg('> Initializing soil parameters',LVL_NFO) 459 463 volcapa = controle(35) 460 if (abs(volcapa) < minieps) call stop_clean(__FILE__,__LINE__,'volcapa is 0 in "'//startfi_name//'"!',1)464 if (abs(volcapa) < eps) call stop_clean(__FILE__,__LINE__,'volcapa is 0 in "'//startfi_name//'"!',1) 461 465 462 466 ! Initialize orbital data
Note: See TracChangeset
for help on using the changeset viewer.
