FirstOrderFieldDifferentialEquations, FieldSecondaryEquations, FirstOrderFieldIntegrator
| Modifier and Type | Field and Description |
|---|---|
| private final T[] | derivative
Derivative of the main state at time. |
| private final T[][] | secondaryDerivative
Derivative of the secondary state at time. |
| Access | Constructor and Description |
|---|---|
| public | FieldODEStateAndDerivative(T
time time, T[] state at time state, T[] derivative of the state at time derivative)Simple constructor. |
| public | FieldODEStateAndDerivative(T
time time, T[] state at time state, T[] derivative of the state at time derivative, T[][] state at time (may be null) secondaryState, T[][] derivative of the state at time (may be null) secondaryDerivative)Simple constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public T[] | Returns: derivative of the main state at timeGet derivative of the main state at time. |
| public T[] | Returns: derivative of the secondary state at timeindex of the secondary set as returned
by index)FieldExpandableODE#addSecondaryEquations(FieldSecondaryEquations)
(beware index 0 corresponds to main state, additional states start at 1)Get derivative of the secondary state at time. |
| derivative | back to summary |
|---|---|
| private final T[] derivative Derivative of the main state at time. | |
| secondaryDerivative | back to summary |
|---|---|
| private final T[][] secondaryDerivative Derivative of the secondary state at time. | |
| FieldODEStateAndDerivative | back to summary |
|---|---|
| public FieldODEStateAndDerivative(T time, T[] state, T[] derivative) Simple constructor. Calling this constructor is equivalent to call
| |
| FieldODEStateAndDerivative | back to summary |
|---|---|
| public FieldODEStateAndDerivative(T time, T[] state, T[] derivative, T[][] secondaryState, T[][] secondaryDerivative) Simple constructor.
| |
| getDerivative | back to summary |
|---|---|
| public T[] getDerivative() Get derivative of the main state at time.
| |
| getSecondaryDerivative | back to summary |
|---|---|
| public T[] getSecondaryDerivative(final int index) Get derivative of the secondary state at time.
| |