Skip to content

Commit cd8d77e

Browse files
committed
add seqs with available ODE integrators for benchm
1 parent 6a474b4 commit cd8d77e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/numericalnim/ode.nim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ type
1010
dtMin*: float
1111
tStart*: float
1212

13-
13+
const fixedODE* = @["heun2", "ralston2", "kutta3", "heun3", "ralston3", "ssprk3", "ralston4", "kutta4", "rk4"]
14+
const adaptiveODE* = @["rk21", "bs32", "dopri54"]
15+
const allODE* = fixedODE.concat(adaptiveODE)
1416

1517
proc newODEoptions*(dt = 1e-4, tol = 1e-4, dtMax = 1e-2, dtMin = 1e-8,
1618
tStart = 0.0): ODEoptions =

0 commit comments

Comments
 (0)