Skip to content

Commit e30e30f

Browse files
authored
Merge branch 'main' into vc/trixi_examples
2 parents 38004ed + df9eaf5 commit e30e30f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

examples/trixi_rosenbrock.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@ sol = solve(
2727
dt = 1.0, # solve needs some value here but it will be overwritten by the stepsize_callback
2828
ode_default_options()..., callback = callbacks,
2929
# verbose=1,
30-
krylov_algo = :gmres,
31-
);
30+
krylov_algo = :gmres,);

libs/Theseus/src/Theseus.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Theseus
22

33
using UnPack
44
using LinearAlgebra
5-
import Ariadne: JacobianOperator
5+
import Ariadne: JacobianOperator, newton_krylov!
66
using Krylov
77

88
abstract type RKTableau end
@@ -263,11 +263,11 @@ function solve!(integrator::NonLinearImplicit)
263263
)
264264
end
265265

266-
function stage!(integrator, alg::NonLinearImplicit)
266+
function stage!(integrator::NonLinearImplicit, alg)
267267
for stage in 1:stages(alg)
268268
F! = nonlinear_problem(alg, integrator.f)
269269
# TODO: Pass in `stages[1:(stage-1)]` or full tuple?
270-
_, stats = Ariadne.newton_krylov!(
270+
_, stats = newton_krylov!(
271271
F!, integrator.u_tmp, (integrator.u, integrator.dt, integrator.du, integrator.p, integrator.t, integrator.stages, stage), integrator.res;
272272
verbose = integrator.opts.verbose, krylov_kwargs = integrator.opts.krylov_kwargs,
273273
algo = integrator.opts.algo, tol_abs = 6.0e-6,

0 commit comments

Comments
 (0)