Skip to content

Commit 1b130f5

Browse files
committed
default toRK2
1 parent 0afab86 commit 1b130f5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/src/time-integrators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ subtypes(LevelSetMethods.TimeIntegrator)
99
```
1010

1111
These are all explicit schemes, and therefore a sufficiently small time step, dependant on
12-
the `LevelSetTerm` being used, is required to ensure stability. We recommend using the third
13-
order [`RK3`](@ref) scheme for most applications.
12+
the `LevelSetTerm` being used, is required to ensure stability. We recommend using the second
13+
order [`RK2`](@ref) scheme for most applications.

src/levelsetequation.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mutable struct LevelSetEquation
77
end
88

99
"""
10-
LevelSetEquation(; terms, levelset, boundary_conditions, t = 0, integrator = RK3())
10+
LevelSetEquation(; terms, levelset, boundary_conditions, t = 0, integrator = RK2())
1111
1212
Create a of a level-set equation of the form `ϕₜ + sum(terms) = 0`, where each `t ∈ terms`
1313
is a [`LevelSetTerm`](@ref) and `levelset` is the initial [`LevelSet`](@ref).
@@ -46,7 +46,7 @@ Current time 0.0
4646
4747
```
4848
"""
49-
function LevelSetEquation(; terms, integrator = RK3(), levelset, t = 0, bc)
49+
function LevelSetEquation(; terms, integrator = RK2(), levelset, t = 0, bc)
5050
N = dimension(levelset)
5151
terms = _normalize_terms(terms, N)
5252
bc = _normalize_bc(bc, N)

0 commit comments

Comments
 (0)