public class STMEquations extends Object implements AdditionalDerivativesProvider, AdditionalEquations
| Constructor and Description |
|---|
STMEquations(CR3BPSystem syst)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CombinedDerivatives |
combinedDerivatives(SpacecraftState s)
Compute the derivatives related to the additional state (and optionally main state increments).
|
double[] |
computeDerivatives(SpacecraftState s,
double[] pDot)
Compute the derivatives related to the additional state parameters.
|
double[] |
derivatives(SpacecraftState state)
Deprecated.
|
int |
getDimension()
Get the dimension of the generated derivative.
|
String |
getName()
Get the name of the additional derivatives (which will become state once integrated).
|
RealMatrix |
getStateTransitionMatrix(SpacecraftState s)
Method returning the State Transition Matrix.
|
void |
init(SpacecraftState initialState,
AbsoluteDate target)
Initialize the generator at the start of propagation.
|
SpacecraftState |
setInitialPhi(SpacecraftState s)
Method adding the standard initial values of the additional state to the initial spacecraft state.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waityieldpublic STMEquations(CR3BPSystem syst)
syst - CR3BP System consideredpublic SpacecraftState setInitialPhi(SpacecraftState s)
s - Initial state of the systempublic void init(SpacecraftState initialState, AbsoluteDate target)
init in interface AdditionalDerivativesProviderinit in interface AdditionalEquationsinitialState - initial state information at the start of propagationtarget - date of propagationpublic double[] computeDerivatives(SpacecraftState s, double[] pDot)
When this method is called, the spacecraft state contains the main
state (orbit, attitude and mass), all the states provided through
the additional
state providers registered to the propagator, and the additional state
integrated using this equation. It does not contains any other
states to be integrated alongside during the same propagation.
computeDerivatives in interface AdditionalEquationss - current state information: date, kinematics, attitude, and
additional statepDot - placeholder where the derivatives of the additional parameters
should be put@Deprecated public double[] derivatives(SpacecraftState state)
derivatives in interface AdditionalDerivativesProviderstate - current state information: date, kinematics, attitude, and
additional states this equations depend on (according to the
yield method)public CombinedDerivatives combinedDerivatives(SpacecraftState s)
As of 11.2, there is a default implementation that calls the deprecated
AdditionalDerivativesProvider.derivatives(SpacecraftState) method. This has been done for
backward compatibility only and will be removed in 12.0.
combinedDerivatives in interface AdditionalDerivativesProviders - current state information: date, kinematics, attitude, and
additional states this equations depend on (according to the
yield method)public String getName()
getName in interface AdditionalDerivativesProvidergetName in interface AdditionalEquationspublic int getDimension()
getDimension in interface AdditionalDerivativesProviderpublic RealMatrix getStateTransitionMatrix(SpacecraftState s)
s - SpacecraftState of the systemCopyright © 2002-2023 CS GROUP. All rights reserved.