Package | Description |
---|---|
org.apache.commons.math3.ode |
This package provides classes to solve Ordinary Differential Equations problems.
|
org.apache.commons.math3.ode.events |
This package provides classes to handle discrete events occurring during
Ordinary Differential Equations integration.
|
org.apache.commons.math3.ode.nonstiff |
This package provides classes to solve non-stiff Ordinary Differential Equations problems.
|
org.apache.commons.math3.ode.sampling |
This package provides classes to handle sampling steps during
Ordinary Differential Equations integration.
|
Modifier and Type | Method and Description |
---|---|
protected FieldODEStateAndDerivative<T> |
AbstractFieldIntegrator.acceptStep(AbstractFieldStepInterpolator<T> interpolator,
T tEnd)
Accept a step, triggering events and step handlers.
|
FieldODEStateAndDerivative<T> |
AbstractFieldIntegrator.getCurrentStepStart()
Get the current value of the step start time ti.
|
FieldODEStateAndDerivative<T> |
FirstOrderFieldIntegrator.getCurrentStepStart()
Get the current value of the step start time ti.
|
FieldODEStateAndDerivative<T> |
ContinuousOutputFieldModel.getInterpolatedState(T time)
Get the state at interpolated time.
|
protected FieldODEStateAndDerivative<T> |
AbstractFieldIntegrator.getStepStart()
Getcurrent step start.
|
protected FieldODEStateAndDerivative<T> |
AbstractFieldIntegrator.initIntegration(FieldExpandableODE<T> eqn,
T t0,
T[] y0,
T t)
Prepare the start of an integration.
|
FieldODEStateAndDerivative<T> |
FirstOrderFieldIntegrator.integrate(FieldExpandableODE<T> equations,
FieldODEState<T> initialState,
T finalTime)
Integrate the differential equations up to the given time.
|
FieldODEStateAndDerivative<T> |
FieldEquationsMapper.mapStateAndDerivative(T t,
T[] y,
T[] yDot)
Map flat arrays to a state and derivative.
|
Modifier and Type | Method and Description |
---|---|
void |
ContinuousOutputFieldModel.init(FieldODEStateAndDerivative<T> initialState,
T t)
Initialize step handler at the start of an ODE integration.
|
T[] |
FieldEquationsMapper.mapDerivative(FieldODEStateAndDerivative<T> state)
Map a state derivative to a complete flat array.
|
protected void |
AbstractFieldIntegrator.setStepStart(FieldODEStateAndDerivative<T> stepStart)
Set current step start.
|
Modifier and Type | Method and Description |
---|---|
Action |
FieldEventHandler.eventOccurred(FieldODEStateAndDerivative<T> state,
boolean increasing)
Handle an event and choose what to do next.
|
T |
FieldEventHandler.g(FieldODEStateAndDerivative<T> state)
Compute the value of the switching function.
|
void |
FieldEventHandler.init(FieldODEStateAndDerivative<T> initialState,
T finalTime)
Initialize event handler at the start of an ODE integration.
|
FieldODEState<T> |
FieldEventState.reset(FieldODEStateAndDerivative<T> state)
Let the event handler reset the state if it wants.
|
FieldODEState<T> |
FieldEventHandler.resetState(FieldODEStateAndDerivative<T> state)
Reset the state prior to continue the integration.
|
void |
FieldEventState.stepAccepted(FieldODEStateAndDerivative<T> state)
Acknowledge the fact the step has been accepted by the integrator.
|
Modifier and Type | Method and Description |
---|---|
FieldODEStateAndDerivative<T> |
RungeKuttaFieldIntegrator.integrate(FieldExpandableODE<T> equations,
FieldODEState<T> initialState,
T finalTime)
Integrate the differential equations up to the given time.
|
FieldODEStateAndDerivative<T> |
EmbeddedRungeKuttaFieldIntegrator.integrate(FieldExpandableODE<T> equations,
FieldODEState<T> initialState,
T finalTime)
Integrate the differential equations up to the given time.
|
FieldODEStateAndDerivative<T> |
AdamsBashforthFieldIntegrator.integrate(FieldExpandableODE<T> equations,
FieldODEState<T> initialState,
T finalTime)
Integrate the differential equations up to the given time.
|
FieldODEStateAndDerivative<T> |
AdamsMoultonFieldIntegrator.integrate(FieldExpandableODE<T> equations,
FieldODEState<T> initialState,
T finalTime)
Integrate the differential equations up to the given time.
|
abstract FieldODEStateAndDerivative<T> |
AdamsFieldIntegrator.integrate(FieldExpandableODE<T> equations,
FieldODEState<T> initialState,
T finalTime)
Integrate the differential equations up to the given time.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.math3.ode.nonstiff.LutherFieldStepInterpolator<T> |
LutherFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.LutherFieldStepInterpolator<T> |
LutherFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.ThreeEighthesFieldStepInterpolator<T> |
ThreeEighthesFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.ThreeEighthesFieldStepInterpolator<T> |
ThreeEighthesFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.MidpointFieldStepInterpolator<T> |
MidpointFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.MidpointFieldStepInterpolator<T> |
MidpointFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.HighamHall54FieldStepInterpolator<T> |
HighamHall54FieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.HighamHall54FieldStepInterpolator<T> |
HighamHall54FieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.EulerFieldStepInterpolator<T> |
EulerFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.EulerFieldStepInterpolator<T> |
EulerFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.DormandPrince853FieldStepInterpolator<T> |
DormandPrince853FieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.DormandPrince853FieldStepInterpolator<T> |
DormandPrince853FieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected abstract org.apache.commons.math3.ode.nonstiff.RungeKuttaFieldStepInterpolator<T> |
RungeKuttaFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected abstract org.apache.commons.math3.ode.nonstiff.RungeKuttaFieldStepInterpolator<T> |
RungeKuttaFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected abstract org.apache.commons.math3.ode.nonstiff.RungeKuttaFieldStepInterpolator<T> |
EmbeddedRungeKuttaFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected abstract org.apache.commons.math3.ode.nonstiff.RungeKuttaFieldStepInterpolator<T> |
EmbeddedRungeKuttaFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.ClassicalRungeKuttaFieldStepInterpolator<T> |
ClassicalRungeKuttaFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.ClassicalRungeKuttaFieldStepInterpolator<T> |
ClassicalRungeKuttaFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.DormandPrince54FieldStepInterpolator<T> |
DormandPrince54FieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.DormandPrince54FieldStepInterpolator<T> |
DormandPrince54FieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.GillFieldStepInterpolator<T> |
GillFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
protected org.apache.commons.math3.ode.nonstiff.GillFieldStepInterpolator<T> |
GillFieldIntegrator.createInterpolator(boolean forward,
T[][] yDotK,
FieldODEStateAndDerivative<T> globalPreviousState,
FieldODEStateAndDerivative<T> globalCurrentState,
FieldEquationsMapper<T> mapper)
Create an interpolator.
|
T |
AdaptiveStepsizeFieldIntegrator.initializeStep(boolean forward,
int order,
T[] scale,
FieldODEStateAndDerivative<T> state0,
FieldEquationsMapper<T> mapper)
Initialize the integration step.
|
Modifier and Type | Method and Description |
---|---|
protected abstract FieldODEStateAndDerivative<T> |
AbstractFieldStepInterpolator.computeInterpolatedStateAndDerivatives(FieldEquationsMapper<T> equationsMapper,
T time,
T theta,
T thetaH,
T oneMinusThetaH)
Compute the state and derivatives at the interpolated time.
|
FieldODEStateAndDerivative<T> |
FieldStepInterpolator.getCurrentState()
Get the state at current grid point time.
|
FieldODEStateAndDerivative<T> |
AbstractFieldStepInterpolator.getCurrentState()
Get the state at current grid point time.
|
FieldODEStateAndDerivative<T> |
AbstractFieldStepInterpolator.getGlobalCurrentState()
Get the current global grid point state.
|
FieldODEStateAndDerivative<T> |
AbstractFieldStepInterpolator.getGlobalPreviousState()
Get the previous global grid point state.
|
FieldODEStateAndDerivative<T> |
FieldStepInterpolator.getInterpolatedState(T time)
Get the state at interpolated time.
|
FieldODEStateAndDerivative<T> |
AbstractFieldStepInterpolator.getInterpolatedState(T time)
Get the state at interpolated time.
|
FieldODEStateAndDerivative<T> |
FieldStepInterpolator.getPreviousState()
Get the state at previous grid point time.
|
FieldODEStateAndDerivative<T> |
AbstractFieldStepInterpolator.getPreviousState()
Get the state at previous grid point time.
|
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractFieldStepInterpolator<T> |
AbstractFieldStepInterpolator.create(boolean newForward,
FieldODEStateAndDerivative<T> newGlobalPreviousState,
FieldODEStateAndDerivative<T> newGlobalCurrentState,
FieldODEStateAndDerivative<T> newSoftPreviousState,
FieldODEStateAndDerivative<T> newSoftCurrentState,
FieldEquationsMapper<T> newMapper)
Create a new instance.
|
protected abstract AbstractFieldStepInterpolator<T> |
AbstractFieldStepInterpolator.create(boolean newForward,
FieldODEStateAndDerivative<T> newGlobalPreviousState,
FieldODEStateAndDerivative<T> newGlobalCurrentState,
FieldODEStateAndDerivative<T> newSoftPreviousState,
FieldODEStateAndDerivative<T> newSoftCurrentState,
FieldEquationsMapper<T> newMapper)
Create a new instance.
|
protected abstract AbstractFieldStepInterpolator<T> |
AbstractFieldStepInterpolator.create(boolean newForward,
FieldODEStateAndDerivative<T> newGlobalPreviousState,
FieldODEStateAndDerivative<T> newGlobalCurrentState,
FieldODEStateAndDerivative<T> newSoftPreviousState,
FieldODEStateAndDerivative<T> newSoftCurrentState,
FieldEquationsMapper<T> newMapper)
Create a new instance.
|
protected abstract AbstractFieldStepInterpolator<T> |
AbstractFieldStepInterpolator.create(boolean newForward,
FieldODEStateAndDerivative<T> newGlobalPreviousState,
FieldODEStateAndDerivative<T> newGlobalCurrentState,
FieldODEStateAndDerivative<T> newSoftPreviousState,
FieldODEStateAndDerivative<T> newSoftCurrentState,
FieldEquationsMapper<T> newMapper)
Create a new instance.
|
void |
FieldFixedStepHandler.handleStep(FieldODEStateAndDerivative<T> state,
boolean isLast)
Handle the last accepted step
|
void |
FieldStepNormalizer.init(FieldODEStateAndDerivative<T> initialState,
T finalTime)
Initialize step handler at the start of an ODE integration.
|
void |
FieldStepHandler.init(FieldODEStateAndDerivative<T> initialState,
T finalTime)
Initialize step handler at the start of an ODE integration.
|
void |
FieldFixedStepHandler.init(FieldODEStateAndDerivative<T> initialState,
T finalTime)
Initialize step handler at the start of an ODE integration.
|
AbstractFieldStepInterpolator<T> |
AbstractFieldStepInterpolator.restrictStep(FieldODEStateAndDerivative<T> previousState,
FieldODEStateAndDerivative<T> currentState)
Create a new restricted version of the instance.
|
AbstractFieldStepInterpolator<T> |
AbstractFieldStepInterpolator.restrictStep(FieldODEStateAndDerivative<T> previousState,
FieldODEStateAndDerivative<T> currentState)
Create a new restricted version of the instance.
|
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.