public class DSSTThirdBody extends Object implements DSSTForceModel
DSSTPropagator
.Constructor and Description |
---|
DSSTThirdBody(CelestialBody body)
Complete constructor.
|
Modifier and Type | Method and Description |
---|---|
CelestialBody |
getBody()
Get third body.
|
EventDetector[] |
getEventsDetectors()
Get the discrete events related to the model.
|
double[] |
getMeanElementRate(SpacecraftState currentState)
Computes the mean equinoctial elements rates dai / dt.
|
List<ShortPeriodTerms> |
initialize(AuxiliaryElements aux,
boolean meanOnly)
Computes the highest power of the eccentricity and the highest power
of a/R3 to appear in the truncated analytical power series expansion.
|
void |
initializeStep(AuxiliaryElements aux)
Performs initialization at each integration step for the current force model.
|
void |
registerAttitudeProvider(AttitudeProvider provider)
Register an attitude provider.
|
void |
updateShortPeriodTerms(SpacecraftState... meanStates)
Update the short period terms.
|
public DSSTThirdBody(CelestialBody body)
body
- the 3rd body to considerCelestialBodyFactory
public CelestialBody getBody()
public List<ShortPeriodTerms> initialize(AuxiliaryElements aux, boolean meanOnly) throws OrekitException
This method computes the upper value for the 3rd body potential and determines the maximal powers for the eccentricity and a/R3 producing potential terms bigger than a defined tolerance.
initialize
in interface DSSTForceModel
aux
- auxiliary elements related to the current orbitmeanOnly
- only mean elements will be used for the propagationOrekitException
- if some specific error occurspublic void initializeStep(AuxiliaryElements aux) throws OrekitException
This method aims at being called before mean elements rates computation.
initializeStep
in interface DSSTForceModel
aux
- auxiliary elements related to the current orbitOrekitException
- if some specific error occurspublic double[] getMeanElementRate(SpacecraftState currentState)
getMeanElementRate
in interface DSSTForceModel
currentState
- current state information: date, kinematics, attitudepublic void updateShortPeriodTerms(SpacecraftState... meanStates) throws OrekitException
The short period terms
that will be updated
are the ones that were returned during the call to DSSTForceModel.initialize(AuxiliaryElements, boolean)
.
updateShortPeriodTerms
in interface DSSTForceModel
meanStates
- mean states information: date, kinematics, attitudeOrekitException
- if some specific error occurspublic EventDetector[] getEventsDetectors()
getEventsDetectors
in interface DSSTForceModel
public void registerAttitudeProvider(AttitudeProvider provider)
Register an attitude provider that can be used by the force model.
registerAttitudeProvider
in interface DSSTForceModel
provider
- the AttitudeProvider
Copyright © 2002-2017 CS Systèmes d'information. All rights reserved.