OrdinaryDiffEqFeagin
Preferred solvers for non-stiff problems at very low tolerance, <1e-30. Best combined with preciser than Float64 number types for the state, such as the BigFloat number type. Note that the Feagin methods have a less robust error estimator than the Verner methods, and thus even for very low tolerance problems the Verner methods (Vern9) may still be more efficient. In addition, at extremely low tolerances the explicit extrapolation methods allow for arbitrarily high variable order stepping which will also outperform the Feagin methods. As such, the Feagin methods may be useful in the Float128 precision range but should be tested against other algorithms.
Installation
To be able to access the solvers in OrdinaryDiffEqFeagin, you must first install them use the Julia package manager:
using Pkg
Pkg.add("OrdinaryDiffEqFeagin")This will only install the solvers listed at the bottom of this page. If you want to explore other solvers for your problem, you will need to install some of the other libraries listed in the navigation bar on the left.
Example usage
using OrdinaryDiffEqFeagin
function lorenz!(du, u, p, t)
du[1] = 10.0 * (u[2] - u[1])
du[2] = u[1] * (28.0 - u[3]) - u[2]
du[3] = u[1] * u[2] - (8 / 3) * u[3]
end
u0 = [1.0; 0.0; 0.0]
tspan = (0.0, 100.0)
prob = ODEProblem(lorenz!, u0, tspan)
sol = solve(prob, Feagin14())Full list of solvers
OrdinaryDiffEqFeagin.Feagin10 — TypeFeagin10(; step_limiter! = OrdinaryDiffEq.trivial_limiter!)Explicit Runge-Kutta Method. Feagin's 10th-order method.
Keyword Arguments
stage_limiter!: function of the formlimiter!(u, integrator, p, t)
References
@article{feagin2012high, title={High-order explicit Runge-Kutta methods using m-symmetry}, author={Feagin, Terry}, year={2012}, publisher={Neural, Parallel \& Scientific Computations} }
OrdinaryDiffEqFeagin.Feagin12 — TypeFeagin12(; step_limiter! = OrdinaryDiffEq.trivial_limiter!)Explicit Runge-Kutta Method. Feagin's 12th-order method.
Keyword Arguments
stage_limiter!: function of the formlimiter!(u, integrator, p, t)
References
@article{feagin2012high, title={High-order explicit Runge-Kutta methods using m-symmetry}, author={Feagin, Terry}, year={2012}, publisher={Neural, Parallel \& Scientific Computations} }
OrdinaryDiffEqFeagin.Feagin14 — TypeFeagin14(; step_limiter! = OrdinaryDiffEq.trivial_limiter!)Explicit Runge-Kutta Method. Feagin's 14th-order method.
Keyword Arguments
stage_limiter!: function of the formlimiter!(u, integrator, p, t)
References
@article{feagin2009explicit, title={An Explicit Runge-Kutta Method of Order Fourteen}, author={Feagin, Terry}, year={2009}, publisher={Numerical Algorithms} }