AdditionalEquations is removed@Deprecated public class FieldAdditionalEquationsAdapter<T extends CalculusFieldElement<T>> extends Object implements FieldAdditionalDerivativesProvider<T>
FieldAdditionalEquations to FieldAdditionalDerivativesProvider.| Constructor and Description |
|---|
FieldAdditionalEquationsAdapter(FieldAdditionalEquations<T> equations,
Supplier<FieldSpacecraftState<T>> stateSupplier)
Deprecated.
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
T[] |
derivatives(FieldSpacecraftState<T> state)
Deprecated.
Compute the derivatives related to the additional state parameters.
|
int |
getDimension()
Deprecated.
Get the dimension of the generated derivative.
|
String |
getName()
Deprecated.
Get the name of the additional derivatives (which will become state once integrated).
|
void |
init(FieldSpacecraftState<T> initialState,
FieldAbsoluteDate<T> target)
Deprecated.
Initialize the generator at the start of propagation.
|
boolean |
yield(FieldSpacecraftState<T> state)
Deprecated.
Check if this provider should yield so another provider has an opportunity to add missing parts.
|
public FieldAdditionalEquationsAdapter(FieldAdditionalEquations<T> equations, Supplier<FieldSpacecraftState<T>> stateSupplier)
equations - wrapped equationsstateSupplier - supplier for reference statepublic String getName()
getName in interface FieldAdditionalDerivativesProvider<T extends CalculusFieldElement<T>>public int getDimension()
getDimension in interface FieldAdditionalDerivativesProvider<T extends CalculusFieldElement<T>>public boolean yield(FieldSpacecraftState<T> state)
Decision to yield is often based on an additional state being already available in the provided state (but it could theoretically also depend on
an additional state derivative being already available, or any other criterion). If for example a provider needs the state transition
matrix, it could implement this method as:
public boolean yield(final FieldSpacecraftState<T> state) {
return !state.getAdditionalStates().containsKey("STM");
}
The default implementation returns false, meaning that derivative data can be
computed immediately.
yield in interface FieldAdditionalDerivativesProvider<T extends CalculusFieldElement<T>>state - state to handlepublic void init(FieldSpacecraftState<T> initialState, FieldAbsoluteDate<T> target)
init in interface FieldAdditionalDerivativesProvider<T extends CalculusFieldElement<T>>initialState - initial state information at the start of propagationtarget - date of propagationpublic T[] derivatives(FieldSpacecraftState<T> state)
derivatives in interface FieldAdditionalDerivativesProvider<T extends CalculusFieldElement<T>>state - current state information: date, kinematics, attitude, and
additional states this equations depend on (according to the
yield method)Copyright © 2002-2022 CS GROUP. All rights reserved.