public class DSSTThirdBody extends Object implements DSSTForceModel
DSSTPropagator
.Constructor and Description |
---|
DSSTThirdBody(CelestialBody body)
Complete constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
computeShortPeriodicsCoefficients(SpacecraftState state)
Compute the coefficients used for short periodic variations.
|
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.
|
double[] |
getShortPeriodicVariations(AbsoluteDate date,
double[] meanElements)
Computes the short periodic variations.
|
void |
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 |
resetShortPeriodicsCoefficients()
Reset the coefficients used for short periodic variations.
|
public DSSTThirdBody(CelestialBody body)
body
- the 3rd body to considerCelestialBodyFactory
public CelestialBody getBody()
public void 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) throws OrekitException
getMeanElementRate
in interface DSSTForceModel
currentState
- current state information: date, kinematics, attitudeOrekitException
- if some specific error occurspublic double[] getShortPeriodicVariations(AbsoluteDate date, double[] meanElements) throws OrekitException
getShortPeriodicVariations
in interface DSSTForceModel
date
- current datemeanElements
- mean elements at current dateOrekitException
- if some specific error occurspublic EventDetector[] getEventsDetectors()
getEventsDetectors
in interface DSSTForceModel
public void computeShortPeriodicsCoefficients(SpacecraftState state) throws OrekitException
computeShortPeriodicsCoefficients
in interface DSSTForceModel
state
- current state information: date, kinematics, attitudeOrekitException
- if some specific error occurspublic void registerAttitudeProvider(AttitudeProvider provider)
Register an attitude provider that can be used by the force model.
registerAttitudeProvider
in interface DSSTForceModel
provider
- the AttitudeProvider
public void resetShortPeriodicsCoefficients()
DSSTForceModel
This method is aimed to reset short periodics coefficients. It is called when one goes from a interpolation step to the next one.
resetShortPeriodicsCoefficients
in interface DSSTForceModel
Copyright © 2002-2015 CS Systèmes d'information. All rights reserved.