diff --git a/src/numericalnim/ode.nim b/src/numericalnim/ode.nim index 04b8637..f43169f 100644 --- a/src/numericalnim/ode.nim +++ b/src/numericalnim/ode.nim @@ -10,7 +10,9 @@ type dtMin*: float tStart*: float - +const fixedODE* = @["heun2", "ralston2", "kutta3", "heun3", "ralston3", "ssprk3", "ralston4", "kutta4", "rk4"] +const adaptiveODE* = @["rk21", "bs32", "dopri54"] +const allODE* = fixedODE.concat(adaptiveODE) proc newODEoptions*(dt = 1e-4, tol = 1e-4, dtMax = 1e-2, dtMin = 1e-8, tStart = 0.0): ODEoptions =