public class SolidTidesAcc extends AbstractStelaLagrangeContribution
Class representing the tidal contribution.
dPot
Constructor and Description |
---|
SolidTidesAcc(boolean computeSunContributionFlag,
boolean computeMoonContributionFlag,
CelestialBody sunBody,
CelestialBody moonBody)
Advanced constructor: the user can choose if the sun or the moon contribution has to be deactivated.
|
SolidTidesAcc(CelestialBody sunBody,
CelestialBody moonBody)
Default constructor: both sun and moon contributions have to be computed.
|
Modifier and Type | Method and Description |
---|---|
double[][] |
computePartialDerivatives(StelaEquinoctialOrbit orbit)
Compute the partial derivatives for a given spacecraft state.
|
double[] |
computePerturbation(StelaEquinoctialOrbit orbit)
Compute the dE/dt force derivatives for a given spacecraft state.
|
double[] |
computeShortPeriods(StelaEquinoctialOrbit orbit)
Compute the short periodic variations for a given spacecraft state.
|
CelestialBody |
getMoon()
Get the Moon.
|
CelestialBody |
getSun()
Get the Sun.
|
getdPot, getType
public SolidTidesAcc(CelestialBody sunBody, CelestialBody moonBody)
sunBody
- SunmoonBody
- Moonpublic SolidTidesAcc(boolean computeSunContributionFlag, boolean computeMoonContributionFlag, CelestialBody sunBody, CelestialBody moonBody)
computeSunContributionFlag
- true if sun contribution to be taken into accountcomputeMoonContributionFlag
- true if moon contribution to be taken into accountsunBody
- Sun (may be null if Sun contribution is not taken into account)moonBody
- Moon (may be null if Moon contribution is not taken into account)public double[] computePerturbation(StelaEquinoctialOrbit orbit) throws PatriusException
computePerturbation
in class AbstractStelaLagrangeContribution
orbit
- current orbit information: date, kinematicsPatriusException
- if perturbation computation failspublic CelestialBody getSun()
public CelestialBody getMoon()
public double[] computeShortPeriods(StelaEquinoctialOrbit orbit) throws PatriusException
orbit
- current orbit information: date, kinematicsPatriusException
- if short periods computation failspublic double[][] computePartialDerivatives(StelaEquinoctialOrbit orbit) throws PatriusException
orbit
- current orbit information: date, kinematicsPatriusException
- if partial derivatives computation failsCopyright © 2020 CNES. All rights reserved.