Skip to content

Commit

Permalink
conv checker
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdeck committed Jun 25, 2024
1 parent 44e201a commit a7798c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions experiments/benchmarks/land.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# Timestep: 180 s
# Timestepper: ARS343
# Maximum iterations: 1
# Convergence criterion: 1e-8
# Convergence criterion: nothing
# Jacobian update: Every Newton iteration
# Precipitation data update: every timestep
import SciMLBase
Expand Down Expand Up @@ -622,8 +622,7 @@ function setup_and_solve_problem(; greet = false)

# Define timestepper and ODE algorithm
stepper = CTS.ARS343()
norm_condition = CTS.MaximumError(FT(1e-8))
conv_checker = CTS.ConvergenceChecker(; norm_condition = norm_condition)
conv_checker = nothing
ode_algo = CTS.IMEXAlgorithm(
stepper,
CTS.NewtonsMethod(
Expand Down
5 changes: 2 additions & 3 deletions experiments/benchmarks/richards.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# Timestep: 1800 s (30 min)
# Timestepper: ARS111
# Maximum iterations: 2
# Convergence criterion: 1e-8
# Convergence criterion: nothing
# Jacobian update: Every Newton iteration
# Precipitation data update: every timestep

Expand Down Expand Up @@ -303,8 +303,7 @@ function setup_and_solve_problem(; greet = false)

# Define timestepper and ODE algorithm
stepper = CTS.ARS111()
norm_condition = CTS.MaximumError(FT(1e-8))
conv_checker = CTS.ConvergenceChecker(; norm_condition = norm_condition)
conv_checker = nothing
ode_algo = CTS.IMEXAlgorithm(
stepper,
CTS.NewtonsMethod(
Expand Down

0 comments on commit a7798c2

Please sign in to comment.