Uses of Class
org.hipparchus.ode.ODEStateAndDerivative
Package
Description
This package provides migration classes from Apache Commons Math to Hipparchus.
This package provides migration classes from Apache Commons Math to Hipparchus.
This package provides classes to solve Ordinary Differential Equations problems.
Events
This package provides classes to solve non-stiff Ordinary Differential Equations problems.
This package provides classes to handle sampling steps during
Ordinary Differential Equations integration.
-
Uses of ODEStateAndDerivative in org.hipparchus.migration.ode.events
Modifier and TypeMethodDescriptiondefault double
EventHandler.g
(ODEStateAndDerivative state) Deprecated.Compute the value of the switching function.default void
EventHandler.init
(ODEStateAndDerivative initialState, double finalTime) Deprecated.Initialize event handler at the start of an ODE integration. -
Uses of ODEStateAndDerivative in org.hipparchus.migration.ode.sampling
Modifier and TypeMethodDescriptiondefault void
FixedStepHandler.handleStep
(ODEStateAndDerivative state, boolean isLast) Deprecated.Handle the last accepted stepdefault void
FixedStepHandler.init
(ODEStateAndDerivative initialState, double finalTime) Deprecated.Initialize step handler at the start of an ODE integration.default void
StepHandler.init
(ODEStateAndDerivative initialState, double finalTime) Deprecated.Initialize step handler at the start of an ODE integration. -
Uses of ODEStateAndDerivative in org.hipparchus.ode
Modifier and TypeMethodDescriptionprotected ODEStateAndDerivative
AbstractIntegrator.acceptStep
(AbstractODEStateInterpolator interpolator, double tEnd) Accept a step, triggering events and step handlers.DenseOutputModel.getInterpolatedState
(double time) Get the state at interpolated time.AbstractIntegrator.getStepStart()
Get the state at step start time ti.ODEIntegrator.getStepStart()
Get the state at step start time ti.protected ODEStateAndDerivative
AbstractIntegrator.initIntegration
(ExpandableODE eqn, ODEState s0, double t) Prepare the start of an integration.ODEIntegrator.integrate
(ExpandableODE equations, ODEState initialState, double finalTime) Integrate the differential equations up to the given time.default ODEStateAndDerivative
ODEIntegrator.integrate
(OrdinaryDifferentialEquation equations, ODEState initialState, double finalTime) Integrate the differential equations up to the given time.EquationsMapper.mapStateAndDerivative
(double t, double[] y, double[] yDot) Map flat arrays to a state and derivative.Modifier and TypeMethodDescriptionComplexODEConverter.convertState
(ODEStateAndDerivative state) Convert a real state and derivatives (typically the final state or some intermediate state for step handling or event handling).void
DenseOutputModel.finish
(ODEStateAndDerivative finalState) Finalize integration.void
DenseOutputModel.init
(ODEStateAndDerivative initialState, double targetTime) Initialize step handler at the start of an ODE integration.protected void
AbstractIntegrator.setStepStart
(ODEStateAndDerivative stepStart) Set current step start. -
Uses of ODEStateAndDerivative in org.hipparchus.ode.events
Modifier and TypeMethodDescriptiondouble
AdaptableInterval.currentInterval
(ODEStateAndDerivative state) Get the current value of maximal time interval between events handler checks.DetectorBasedEventState.doEvent
(ODEStateAndDerivative state) Notify the user's listener of the event.EventState.doEvent
(ODEStateAndDerivative state) Notify the user's listener of the event.StepEndEventState.doEvent
(ODEStateAndDerivative state) Notify the user's listener of the event.ODEEventHandler.eventOccurred
(ODEStateAndDerivative state, ODEEventDetector detector, boolean increasing) Handle an event and choose what to do next.abstract double
AbstractODEDetector.g
(ODEStateAndDerivative s) Compute the value of the switching function.double
EventSlopeFilter.g
(ODEStateAndDerivative state) Compute the value of the switching function.double
ODEEventDetector.g
(ODEStateAndDerivative state) Compute the value of the switching function.void
AbstractODEDetector.init
(ODEStateAndDerivative s0, double t) Initialize event handler at the start of an ODE integration.void
DetectorBasedEventState.init
(ODEStateAndDerivative s0, double t) Initialize handler at the start of an integration.void
EventSlopeFilter.init
(ODEStateAndDerivative initialState, double finalTime) Initialize event handler at the start of an ODE integration.void
EventState.init
(ODEStateAndDerivative s0, double t) Initialize handler at the start of an integration.default void
ODEEventDetector.init
(ODEStateAndDerivative initialState, double finalTime) Initialize event handler at the start of an ODE integration.default void
ODEEventHandler.init
(ODEStateAndDerivative initialState, double finalTime, ODEEventDetector detector) Initialize event handler at the start of an ODE integration.default void
ODEStepEndHandler.init
(ODEStateAndDerivative initialState, double finalTime) Initialize step end handler at the start of an ODE integration.void
StepEndEventState.init
(ODEStateAndDerivative s0, double t) Initialize handler at the start of an integration.default ODEState
ODEEventHandler.resetState
(ODEEventDetector detector, ODEStateAndDerivative state) Reset the state prior to continue the integration.default ODEState
ODEStepEndHandler.resetState
(ODEStateAndDerivative state) Reset the state prior to continue the integration.ODEStepEndHandler.stepEndOccurred
(ODEStateAndDerivative state, boolean forward) Handle an event and choose what to do next.boolean
DetectorBasedEventState.tryAdvance
(ODEStateAndDerivative state, ODEStateInterpolator interpolator) Try to accept the current history up to the given time. -
Uses of ODEStateAndDerivative in org.hipparchus.ode.nonstiff
Modifier and TypeMethodDescriptionAdamsIntegrator.integrate
(ExpandableODE equations, ODEState initialState, double finalTime) Integrate the differential equations up to the given time.EmbeddedRungeKuttaIntegrator.integrate
(ExpandableODE equations, ODEState initialState, double finalTime) Integrate the differential equations up to the given time.GraggBulirschStoerIntegrator.integrate
(ExpandableODE equations, ODEState initialState, double finalTime) Integrate the differential equations up to the given time.RungeKuttaIntegrator.integrate
(ExpandableODE equations, ODEState initialState, double finalTime) Integrate the differential equations up to the given time.Modifier and TypeMethodDescriptionprotected org.hipparchus.ode.nonstiff.ClassicalRungeKuttaStateInterpolator
ClassicalRungeKuttaIntegrator.createInterpolator
(boolean forward, double[][] yDotK, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper mapper) Create an interpolator.protected org.hipparchus.ode.nonstiff.DormandPrince54StateInterpolator
DormandPrince54Integrator.createInterpolator
(boolean forward, double[][] yDotK, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper mapper) Create an interpolator.protected org.hipparchus.ode.nonstiff.DormandPrince853StateInterpolator
DormandPrince853Integrator.createInterpolator
(boolean forward, double[][] yDotK, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper mapper) Create an interpolator.protected abstract org.hipparchus.ode.nonstiff.RungeKuttaStateInterpolator
EmbeddedRungeKuttaIntegrator.createInterpolator
(boolean forward, double[][] yDotK, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper mapper) Create an interpolator.protected org.hipparchus.ode.nonstiff.EulerStateInterpolator
EulerIntegrator.createInterpolator
(boolean forward, double[][] yDotK, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper mapper) Create an interpolator.protected org.hipparchus.ode.nonstiff.GillStateInterpolator
GillIntegrator.createInterpolator
(boolean forward, double[][] yDotK, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper mapper) Create an interpolator.protected org.hipparchus.ode.nonstiff.HighamHall54StateInterpolator
HighamHall54Integrator.createInterpolator
(boolean forward, double[][] yDotK, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper mapper) Create an interpolator.protected org.hipparchus.ode.nonstiff.LutherStateInterpolator
LutherIntegrator.createInterpolator
(boolean forward, double[][] yDotK, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper mapper) Create an interpolator.protected org.hipparchus.ode.nonstiff.MidpointStateInterpolator
MidpointIntegrator.createInterpolator
(boolean forward, double[][] yDotK, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper mapper) Create an interpolator.protected abstract org.hipparchus.ode.nonstiff.RungeKuttaStateInterpolator
RungeKuttaIntegrator.createInterpolator
(boolean forward, double[][] yDotK, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper mapper) Create an interpolator.protected org.hipparchus.ode.nonstiff.ThreeEighthesStateInterpolator
ThreeEighthesIntegrator.createInterpolator
(boolean forward, double[][] yDotK, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper mapper) Create an interpolator.protected org.hipparchus.ode.nonstiff.AdamsStateInterpolator
AdamsBashforthIntegrator.finalizeStep
(double stepSize, double[] predictedState, double[] predictedScaled, Array2DRowRealMatrix predictedNordsieck, boolean isForward, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper equationsMapper) Finalize the step.protected abstract org.hipparchus.ode.nonstiff.AdamsStateInterpolator
AdamsIntegrator.finalizeStep
(double stepSize, double[] predictedState, double[] predictedScaled, Array2DRowRealMatrix predictedNordsieck, boolean isForward, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper equationsMapper) Finalize the step.protected org.hipparchus.ode.nonstiff.AdamsStateInterpolator
AdamsMoultonIntegrator.finalizeStep
(double stepSize, double[] predictedState, double[] predictedScaled, Array2DRowRealMatrix predictedNordsieck, boolean isForward, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, EquationsMapper equationsMapper) Finalize the step.double
AdaptiveStepsizeIntegrator.initializeStep
(boolean forward, int order, double[] scale, ODEStateAndDerivative state0) Initialize the integration step. -
Uses of ODEStateAndDerivative in org.hipparchus.ode.sampling
Modifier and TypeMethodDescriptionprotected abstract ODEStateAndDerivative
AbstractODEStateInterpolator.computeInterpolatedStateAndDerivatives
(EquationsMapper equationsMapper, double time, double theta, double thetaH, double oneMinusThetaH) Compute the state and derivatives at the interpolated time.AbstractODEStateInterpolator.getCurrentState()
Get the state at current grid point time.ODEStateInterpolator.getCurrentState()
Get the state at current grid point time.AbstractODEStateInterpolator.getGlobalCurrentState()
Get the current global grid point state.AbstractODEStateInterpolator.getGlobalPreviousState()
Get the previous global grid point state.AbstractODEStateInterpolator.getInterpolatedState
(double time) Get the state at interpolated time.ODEStateInterpolator.getInterpolatedState
(double time) Get the state at interpolated time.AbstractODEStateInterpolator.getPreviousState()
Get the state at previous grid point time.ODEStateInterpolator.getPreviousState()
Get the state at previous grid point time.Modifier and TypeMethodDescriptionprotected abstract AbstractODEStateInterpolator
AbstractODEStateInterpolator.create
(boolean newForward, ODEStateAndDerivative newGlobalPreviousState, ODEStateAndDerivative newGlobalCurrentState, ODEStateAndDerivative newSoftPreviousState, ODEStateAndDerivative newSoftCurrentState, EquationsMapper newMapper) Create a new instance.default void
ODEStepHandler.finish
(ODEStateAndDerivative finalState) Finalize integration.void
StepNormalizer.finish
(ODEStateAndDerivative finalState) Finalize integration.void
ODEFixedStepHandler.handleStep
(ODEStateAndDerivative state, boolean isLast) Handle the last accepted stepdefault void
ODEFixedStepHandler.init
(ODEStateAndDerivative initialState, double finalTime) Initialize step handler at the start of an ODE integration.default void
ODEStepHandler.init
(ODEStateAndDerivative initialState, double finalTime) Initialize step handler at the start of an ODE integration.void
StepNormalizer.init
(ODEStateAndDerivative initialState, double finalTime) Initialize step handler at the start of an ODE integration.AbstractODEStateInterpolator.restrictStep
(ODEStateAndDerivative previousState, ODEStateAndDerivative currentState) Create a new restricted version of the instance.ModifierConstructorDescriptionprotected
AbstractODEStateInterpolator
(boolean isForward, ODEStateAndDerivative globalPreviousState, ODEStateAndDerivative globalCurrentState, ODEStateAndDerivative softPreviousState, ODEStateAndDerivative softCurrentState, EquationsMapper equationsMapper) Simple constructor.