Solutions
GeometricSolutions.EnsembleSolution
— TypeEnsembleSolution
: Collection of all solutions of an EnsembleProblem
.
GeometricSolutions.GeometricSolution
— TypeGeometricSolution
: Solution of a geometric differential equation
Contains all fields necessary to store the solution of a GeometricProblem.
Fields
t
: time stepss
: NamedTuple of DataSeries for each solution componentstep
: store every step'th time step (default: 1)nstore
: number of time steps to storeoffset
: offset of current time step
Constructors
GeometricSolution(problem; step=1)
The usual way to initialise a Solution
is by passing a GeometricProblem
, which can for example be an ODEProblem
or PODEProblem
. The optional parameter step
determines the intervals for storing the solution, i.e., if store > 1
only every store
'th solution is actually stored.
Solution Steps
GeometricIntegrators.Integrators.SolutionStep
— TypeAbstract atomic or single-step solution.
Constructors:
SolutionStep(equation)
SolutionStep(solution)
SolutionStep(solution, integrator)
Automatically construct the appropriate atomic solution based on the given equation
or solution
type. If an integrator
is provided as, the internal
field of the atomic solution is constructed according to the internal state of the integrator as obtained from the function internal_variables
.
Base.copy!
— MethodCopy the initial conditions of a EquationProblem
to the current state of an atomic solution.
GeometricIntegrators.Integrators.current
— FunctionReturns a NamedTuple with the solution of the current time step.
GeometricIntegrators.Integrators.previous
— FunctionReturns a NamedTuple with the solution of the previous time step.
GeometricIntegrators.Integrators.SolutionStepDAE
— TypeSolution step for a DAEProblem
.
Parameters
DT
: data typeTT
: time step typeAT
: array typeIT
: internal variable types
Fields
t
: time of current time stept̄
: time of previous time stepsq
: current solution of qλ
: current solution of λμ
: current solution of μq̄
: previous solutions of qλ̄
: previous solutions of λμ̄
: previous solution of μv
: vector field of qv̄
: vector field of q̄u
: projective vector field of qū
: projective vector field of q̄q̃
: compensated summation error of qinternal
: internal variables of the integrator (e.g., internal stages of a Runge-Kutta methods or solver output)
Constructors
SolutionStepDAE(t::TT, q::AT, λ::AT, internal::IT=NamedTuple())
GeometricIntegrators.Integrators.SolutionStepODE
— TypeSolution step for an ODEProblem
.
Parameters
DT
: data typeTT
: time step typeAT
: array typeIT
: internal variable types
Fields
t
: time of current time stept̄
: time of previous time stepq
: current solution of qq̄
: previous solution of qv
: vector field of qv̄
: vector field of q̄q̃
: compensated summation error of qinternal
: internal variables of the integrator (e.g., internal stages of a Runge-Kutta methods or solver output)
Constructors
SolutionStepODE(t::TT, q::AT; nhistory=1, internal::IT=NamedTuple())
GeometricIntegrators.Integrators.SolutionStepPDAE
— TypeSolution step for a PDAEProblem
.
Parameters
DT
: data typeTT
: time step typeAT
: array typeIT
: internal variable types
Fields
t
: time of current time stept̄
: time of previous time stepsq
: current solution of qp
: current solution of pλ
: current solution of λμ
: current solution of μq̄
: previous solution of qp̄
: previous solution of pλ̄
: previous solution of λμ̄
: previous solution of μv
: vector field of qf
: vector field of pv̄
: vector field of q̄f̄
: vector field of p̄u
: projective vector field of qū
: projective vector field of q̄g
: projective vector field of pḡ
: projective vector field of p̄q̃
: compensated summation error of qp̃
: compensated summation error of pinternal
: internal variables of the integrator (e.g., internal stages of a Runge-Kutta methods or solver output)
Constructors
SolutionStepPDAE(t::TT, q::AT, p::AT, λ::AT; nhistory=1, internal::IT=NamedTuple())
GeometricIntegrators.Integrators.SolutionStepPODE
— TypeSolution step for a PODEProblem
.
Parameters
DT
: data typeTT
: time step typeAT
: array typeIT
: internal variable types
Fields
t
: time of current time stept̄
: time of previous time stepq
: current solution of qp
: current solution of pq̄
: previous solution of qp̄
: previous solution of pv
: vector field of qf
: vector field of pv̄
: vector field of q̄f̄
: vector field of p̄q̃
: compensated summation error of qp̃
: compensated summation error of pinternal
: internal variables of the integrator (e.g., internal stages of a Runge-Kutta methods or solver output)
Constructors
SolutionStepPODE(t::TT, q::AT, p::AT; nhistory=1, internal::IT=NamedTuple())