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)
Deprecated.
since 7.1, replaced with
DSSTCentralBody(Frame, double,
UnnormalizedSphericalHarmonicsProvider, int, int, int, int, int) |
DSSTCentralBody(Frame centralBodyFrame,
double centralBodyRotationRate,
UnnormalizedSphericalHarmonicsProvider provider,
boolean mDailiesOnly)
Deprecated.
since 7.1, replaced with
DSSTCentralBody(Frame, double,
UnnormalizedSphericalHarmonicsProvider, int, int, int, int, int) |
DSSTCentralBody(Frame centralBodyFrame,
double centralBodyRotationRate,
UnnormalizedSphericalHarmonicsProvider provider,
int maxDegreeZonalSP,
int maxDegreeTesseralSP,
int maxOrderTesseralSP,
int maxDegreeMdailyTesseralSP,
int maxOrderMdailyTesseralSP)
DSST Central body constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
List<ShortPeriodTerms> |
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 |
updateShortPeriodTerms(SpacecraftState... state)
Update the short period terms.
|
@Deprecated public DSSTCentralBody(Frame centralBodyFrame, double centralBodyRotationRate, UnnormalizedSphericalHarmonicsProvider provider, boolean mDailiesOnly)
DSSTCentralBody(Frame, double,
UnnormalizedSphericalHarmonicsProvider, int, int, int, int, int)
This constructor limits the zonal short periods to degree 12, the tesseral short periods to degree and order 8, and the tesseral m-dailies to degree and order 12.
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 periodics@Deprecated public DSSTCentralBody(Frame centralBodyFrame, double centralBodyRotationRate, UnnormalizedSphericalHarmonicsProvider provider)
DSSTCentralBody(Frame, double,
UnnormalizedSphericalHarmonicsProvider, int, int, int, int, int)
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 DSSTCentralBody(Frame centralBodyFrame, double centralBodyRotationRate, UnnormalizedSphericalHarmonicsProvider provider, int maxDegreeZonalSP, int maxDegreeTesseralSP, int maxOrderTesseralSP, int maxDegreeMdailyTesseralSP, int maxOrderMdailyTesseralSP)
centralBodyFrame
- rotating body framecentralBodyRotationRate
- central body rotation rate (rad/s)provider
- provider for spherical harmonicsmaxDegreeZonalSP
- maximal degree to consider for short periodics zonal harmonics potential
(the real degree used may be smaller if the provider does not provide enough terms)maxDegreeTesseralSP
- maximal degree to consider for short periodics tesseral harmonics potential
(the real degree used may be smaller if the provider does not provide enough terms)maxOrderTesseralSP
- maximal order to consider for short periodics tesseral harmonics potential
(the real order used may be smaller if the provider does not provide enough terms)maxDegreeMdailyTesseralSP
- maximal degree to consider for short periodics m-daily tesseral harmonics potential
(the real degree used may be smaller if the provider does not provide enough terms)maxOrderMdailyTesseralSP
- maximal order to consider for short periodics m-daily tesseral harmonics potential
(the real order used may be smaller if the provider does not provide enough terms)public List<ShortPeriodTerms> 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 EventDetector[] getEventsDetectors()
getEventsDetectors
in interface DSSTForceModel
public void updateShortPeriodTerms(SpacecraftState... state) 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
state
- mean states information: date, kinematics, attitudeOrekitException
- if some specific error occurspublic 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-2016 CS Systèmes d'information. All rights reserved.