Package org.apache.commons.math3.ode
Class ExpandableStatefulODE.SecondaryComponent
- java.lang.Object
-
- org.apache.commons.math3.ode.ExpandableStatefulODE.SecondaryComponent
-
- Enclosing class:
- ExpandableStatefulODE
private static class ExpandableStatefulODE.SecondaryComponent extends java.lang.ObjectComponents of the compound stateful ODE.
-
-
Field Summary
Fields Modifier and Type Field Description private SecondaryEquationsequationSecondary differential equation.private EquationsMappermapperMapper between local and complete arrays.private double[]stateState.private double[]stateDotState derivative.
-
Constructor Summary
Constructors Constructor Description SecondaryComponent(SecondaryEquations equation, int firstIndex)Simple constructor.
-
-
-
Field Detail
-
equation
private final SecondaryEquations equation
Secondary differential equation.
-
mapper
private final EquationsMapper mapper
Mapper between local and complete arrays.
-
state
private final double[] state
State.
-
stateDot
private final double[] stateDot
State derivative.
-
-
Constructor Detail
-
SecondaryComponent
SecondaryComponent(SecondaryEquations equation, int firstIndex)
Simple constructor.- Parameters:
equation- secondary differential equationfirstIndex- index to use for the first element in the complete arrays
-
-