Skip to content

Commit

Permalink
land long run changes [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdeck committed Sep 5, 2024
1 parent 6d2044d commit a192884
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions experiments/long_runs/land.jl
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ end
function setup_and_solve_problem(; greet = false)

t0 = 0.0
tf = 60 * 60.0 * 24 * 7
tf = 60 * 60.0 * 24 * 14
Δt = 900.0
nelements = (101, 15)
if greet
Expand All @@ -641,12 +641,12 @@ function setup_and_solve_problem(; greet = false)
prob, cb = setup_prob(t0, tf, Δt; nelements)

# Define timestepper and ODE algorithm
stepper = CTS.ARS343()
stepper = CTS.ARS111()
ode_algo = CTS.IMEXAlgorithm(
stepper,
CTS.NewtonsMethod(
max_iters = 1,
update_j = CTS.UpdateEvery(CTS.NewTimeStep),
max_iters = 3,
update_j = CTS.UpdateEvery(CTS.NewNewtonIteration),
),
)
SciMLBase.solve(prob, ode_algo; dt = Δt, callback = cb, adaptive = false)
Expand Down

0 comments on commit a192884

Please sign in to comment.