Skip to content

Commit cc59e60

Browse files
vchuravyranocha
andauthored
Apply suggestions from code review
Co-authored-by: Hendrik Ranocha <ranocha@users.noreply.github.com>
1 parent 039b9f9 commit cc59e60

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

libs/Theseus/src/Theseus.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ abstract type NonLinearImplicitAlgorithm{N} <: SimpleImplicitAlgorithm{N} end
5959
stages(::NonLinearImplicitAlgorithm{N}) where {N} = N
6060

6161
"""
62-
ImplicitEuler
62+
ImplicitEuler()
6363
6464
The backward (implicit) Euler method: a first-order, single-stage, A-stable,
6565
and L-stable nonlinear implicit Runge-Kutta method.
@@ -80,7 +80,7 @@ function (::ImplicitEuler)(res, uₙ, Δt, f!, du, u, p, t, stages, stage)
8080
end
8181

8282
"""
83-
ImplicitMidpoint
83+
ImplicitMidpoint()
8484
8585
The implicit midpoint method: a second-order, single-stage, A-stable
8686
nonlinear implicit Runge-Kutta method.
@@ -105,7 +105,7 @@ function (::ImplicitMidpoint)(res, uₙ, Δt, f!, du, u, p, t, stages, stage)
105105
end
106106

107107
"""
108-
ImplicitTrapezoid
108+
ImplicitTrapezoid()
109109
110110
The implicit trapezoidal rule (Crank–Nicolson): a second-order, single-stage,
111111
A-stable (but not L-stable) nonlinear implicit method.

libs/Theseus/src/rosenbrock/tableau.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct RosenbrockButcher{T1 <: AbstractArray, T2 <: AbstractArray} <: RKTableau
66
end
77

88
"""
9-
SSPKnoth
9+
SSPKnoth()
1010
1111
A three-stage, second-order strong-stability preserving (SSP) Rosenbrock-W method
1212
by Knoth and Wolke.
@@ -50,7 +50,7 @@ function RKTableau(alg::SSPKnoth, RealT)
5050
end
5151

5252
"""
53-
ROS2
53+
ROS2()
5454
5555
A two-stage, second-order Rosenbrock-W method with diagonal parameter
5656
``\\gamma = (1 + 1/\\sqrt{3})/2``.

0 commit comments

Comments
 (0)