public class SolidTidesAcc extends AbstractStelaLagrangeContribution
Class representing the tidal contribution.
dPot
Constructor and Description |
---|
SolidTidesAcc(boolean computeSunContributionFlag,
boolean computeMoonContributionFlag,
CelestialPoint sunBody,
CelestialPoint moonBody)
Advanced constructor: the user can choose if the sun or the moon contribution has to be deactivated.
|
SolidTidesAcc(CelestialPoint sunBody,
CelestialPoint 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,
OrbitNatureConverter converter)
Compute the short periodic variations for a given spacecraft state.
|
CelestialPoint |
getMoon()
Get the Moon.
|
CelestialPoint |
getSun()
Get the Sun.
|
getdPot, getType
public SolidTidesAcc(CelestialPoint sunBody, CelestialPoint moonBody)
sunBody
- SunmoonBody
- Moonpublic SolidTidesAcc(boolean computeSunContributionFlag, boolean computeMoonContributionFlag, CelestialPoint sunBody, CelestialPoint 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 CelestialPoint getSun()
public CelestialPoint getMoon()
public double[] computeShortPeriods(StelaEquinoctialOrbit orbit, OrbitNatureConverter converter) throws PatriusException
orbit
- current orbit information: date, kinematicsconverter
- converter necessary in some specific case (drag short periods computation)PatriusException
- if short periods computation failspublic double[][] computePartialDerivatives(StelaEquinoctialOrbit orbit) throws PatriusException
orbit
- current orbit information: date, kinematicsPatriusException
- if partial derivatives computation failsCopyright © 2023 CNES. All rights reserved.