public final class StelaTesseralAttraction extends AbstractStelaLagrangeContribution
dPot| Constructor and Description |
|---|
StelaTesseralAttraction(PotentialCoefficientsProvider provider)
Constructor.
|
StelaTesseralAttraction(PotentialCoefficientsProvider provider,
int tesseralOrder,
int qMax,
double step,
int nStep)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeCurrentQuad(Orbit orbit,
double puser,
int n,
int m,
int p,
int q,
double pP)
Private method to reduce cyclomatic complexity.
|
protected double[] |
computeEccentricityFunction(StelaEquinoctialOrbit orbit,
TesseralQuad quad)
Compute eccentricity function G(e) terms eabs(q)cos(qω), eabs(q)sin(qω) and its
derivatives with respect to ex and ey.
|
protected double[] |
computeF(StelaEquinoctialOrbit orbit,
TesseralQuad quad)
Compute inclination function F and its partial derivatives with respect to ix and iy.
|
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.
|
List<TesseralQuad> |
getQuadsList()
Getter for the quad list.
|
void |
updateQuads(Orbit orbit)
Compute quads (n, m, p, q).
|
getdPot, getTypepublic StelaTesseralAttraction(PotentialCoefficientsProvider provider)
provider - potential coefficients providerpublic StelaTesseralAttraction(PotentialCoefficientsProvider provider, int tesseralOrder, int qMax, double step, int nStep)
provider - potential coefficients providertesseralOrder - the max order in the Kaula developpementqMax - the maximum value of Q in the Kaula formulationstep - integration stepnStep - number of integration steppublic double[] computePerturbation(StelaEquinoctialOrbit orbit) throws PatriusException
computePerturbation in class AbstractStelaLagrangeContributionorbit - current orbit information: date, kinematicsPatriusException - if perturbation computation failsprotected double[] computeEccentricityFunction(StelaEquinoctialOrbit orbit, TesseralQuad quad)
orbit - position velocity in type 8quad - quad (n, m, p, q)protected double[] computeF(StelaEquinoctialOrbit orbit, TesseralQuad quad)
orbit - orbitquad - quad (n, m, p, q)public void updateQuads(Orbit orbit)
orbit - orbitprotected void computeCurrentQuad(Orbit orbit, double puser, int n, int m, int p, int q, double pP) throws PatriusException
orbit - orbitpuser - current pusern - current nm - current mp - current pq - current npP - current pPPatriusException - error when creating the TesseralQuadpublic 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 failspublic List<TesseralQuad> getQuadsList()
Copyright © 2024 CNES. All rights reserved.