public class DSSTCentralBody extends Object implements DSSTForceModel
DSSTPropagator
.
Central body gravitational contribution is made of:
Constructor and Description |
---|
DSSTCentralBody(Frame centralBodyFrame,
double centralBodyRotationRate,
UnnormalizedSphericalHarmonicsProvider provider)
DSST Central body constructor.
|
DSSTCentralBody(Frame centralBodyFrame,
double centralBodyRotationRate,
UnnormalizedSphericalHarmonicsProvider provider,
boolean mDailiesOnly)
DSST Central body constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
computeShortPeriodicsCoefficients(SpacecraftState state)
Compute the coefficients used for short periodic variations.
|
EventDetector[] |
getEventsDetectors()
Get the discrete events related to the model.
|
double[] |
getMeanElementRate(SpacecraftState spacecraftState)
Computes the mean equinoctial elements rates dai / dt.
|
UnnormalizedSphericalHarmonicsProvider |
getProvider()
Get the spherical harmonics provider.
|
double[] |
getShortPeriodicVariations(AbsoluteDate date,
double[] meanElements)
Computes the short periodic variations.
|
void |
initialize(AuxiliaryElements aux,
boolean meanOnly)
Performs initialization prior to propagation for the current force model.
|
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 DSSTCentralBody(Frame centralBodyFrame, double centralBodyRotationRate, UnnormalizedSphericalHarmonicsProvider provider, boolean mDailiesOnly)
centralBodyFrame
- rotating body framecentralBodyRotationRate
- central body rotation rate (rad/s)provider
- provider for spherical harmonicsmDailiesOnly
- if true only M-dailies tesseral harmonics are taken into account for short periodicspublic DSSTCentralBody(Frame centralBodyFrame, double centralBodyRotationRate, UnnormalizedSphericalHarmonicsProvider provider)
All harmonics are considered for the short-periodic tesseral contribution
centralBodyFrame
- rotating body framecentralBodyRotationRate
- central body rotation rate (rad/s)provider
- provider for spherical harmonicspublic void initialize(AuxiliaryElements aux, boolean meanOnly) throws OrekitException
This method aims at being called at the very beginning of a propagation.
initialize
in interface DSSTForceModel
aux
- auxiliary elements related to the current orbitmeanOnly
- only mean elements are used during 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 spacecraftState) throws OrekitException
getMeanElementRate
in interface DSSTForceModel
spacecraftState
- 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 resetShortPeriodicsCoefficients()
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
public UnnormalizedSphericalHarmonicsProvider getProvider()
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-2015 CS Systèmes d'information. All rights reserved.