public class StelaThirdBodyAttraction extends AbstractStelaLagrangeContribution
Class computing third body attraction perturbations.
It computes third body perturbations, short periods and partial derivatives depending on the degree of development asked.
dPot
Constructor and Description |
---|
StelaThirdBodyAttraction(CelestialBody thirdBody,
int inThirdBodyDegreeMaxPerturbation,
int inThirdBodyDegreeMaxShortPeriods,
int inThirdBodyDegreeMaxPD)
Creates a Stela third body attraction force model.
|
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.
|
getdPot, getType
public StelaThirdBodyAttraction(CelestialBody thirdBody, int inThirdBodyDegreeMaxPerturbation, int inThirdBodyDegreeMaxShortPeriods, int inThirdBodyDegreeMaxPD)
thirdBody
- the celestial third bodyinThirdBodyDegreeMaxPerturbation
- the max degree of computation of the perturbationinThirdBodyDegreeMaxShortPeriods
- the max degree of computation of the short periodsinThirdBodyDegreeMaxPD
- the max degree of computation of the partial derivativespublic double[] computePerturbation(StelaEquinoctialOrbit orbit) throws PatriusException
AbstractStelaLagrangeContribution
computePerturbation
in class AbstractStelaLagrangeContribution
orbit
- current orbit information: date, kinematicsPatriusException
- if perturbation computation failspublic double[] computeShortPeriods(StelaEquinoctialOrbit orbit, OrbitNatureConverter converter) throws PatriusException
StelaForceModel
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
StelaForceModel
orbit
- current orbit information: date, kinematicsPatriusException
- if partial derivatives computation failsCopyright © 2023 CNES. All rights reserved.