public class STMEquations extends Object implements AdditionalEquations
Constructor and Description |
---|
STMEquations(CR3BPSystem syst)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
double[] |
computeDerivatives(SpacecraftState s,
double[] dPhi)
Compute the derivatives related to the additional state parameters.
|
String |
getName()
Get the name of the additional state.
|
RealMatrix |
getStateTransitionMatrix(SpacecraftState s)
Method returning the State Transition Matrix.
|
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, wait
init
public STMEquations(CR3BPSystem syst)
syst
- CR3BP System consideredpublic SpacecraftState setInitialPhi(SpacecraftState s)
s
- Initial state of the systempublic double[] computeDerivatives(SpacecraftState s, double[] dPhi)
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 AdditionalEquations
s
- current state information: date, kinematics, attitude, and
additional statedPhi
- placeholder where the derivatives of the additional parameters
should be putpublic String getName()
getName
in interface AdditionalEquations
public RealMatrix getStateTransitionMatrix(SpacecraftState s)
s
- SpacecraftState of the systemCopyright © 2002-2021 CS GROUP. All rights reserved.