Refined ODE Solvers

Refined ODE Solvers

solve(prob::ODEProblem,alg;kwargs)

Solves the Refined ODE problems defined by prob using the algorithm alg. If no algorithm is given, a default algorithm will be chosen.

This area is still under major development.

Special Forms

Many of the integrators in this category require special forms. For example, sometimes an integrator may require that a certain argument is missing. Instead of changing the function signature, keep the function signature but make sure the function ignores the appropriate argument.

For example, one type of special form is the dynamical ODE:

\[\frac{du}{dt} = f_1(t,v) \\ \frac{dv}{dt} = f_2(t,u) \\ ...\]

This is a Partitioned ODE partitioned into two groups, so the functions should be specified as f1(t,x,v,dx) and f2(t,x,v,dx) (in the inplace form). However, this specification states that f1 would be independent of x, and f2 should be independent of v. Followed the requirements for the integrator is required to achieve the suggested accuracy.

Note About OrdinaryDiffEq.jl

Unless otherwise specified, the OrdinaryDiffEq algorithms all come with a 3rd order Hermite polynomial interpolation. The algorithms denoted as having a "free" interpolation means that no extra steps are required for the interpolation. For the non-free higher order interpolating functions, the extra steps are computed lazily (i.e. not during the solve).

Functional Forms

Dynamical ODE

These algorithms require a Partitioned ODE of the form:

\[\frac{du}{dt} = f_1(t,v) \\ \frac{dv}{dt} = f_2(t,u) \\\]

This is a Partitioned ODE partitioned into two groups, so the functions should be specified as f1(t,u,v,dx) and f2(t,u,v,dx) (in the inplace form), where f1 is independent of x and f2 is independent of v. This includes discretizations arising from SecondOrderODEProblems where the velocity is not used in the acceleration function.

The appropriate algorithms for this form are:

OrdinaryDiffEq.jl

Implicit-Explicit (IMEX) ODE

The Implicit-Explicit (IMEX) ODE is a SplitODEProblem with two functions:

\[\frac{du}{dt} = f_1(t,u) + f_2(t,u)\]

where the first function is the stiff part and the second function is the non-stiff part (implicit integration on f1, explicit integration on f2).

The appropriate algorithms for this form are:

OrdinaryDiffEq.jl

Sundials.jl

Linear-Nonlinear (LNL) ODE

The Linear-Nonlinear (LNL) ODE is a SplitODEProblem with two functions:

\[\frac{du}{dt} = f_1(t,u) + f_2(t,u)\]

where the first function is a linear operator and the second function is the non-stiff part (implicit integration on f1, explicit integration on f2).

The appropriate algorithms for this form are:

OrdinaryDiffEq.jl