public abstract class SeriesTerm extends Object implements Serializable
PoissonSeries
,
Serialized FormModifier | Constructor and Description |
---|---|
protected |
SeriesTerm(double sinCoeffIn,
double cosCoeffIn)
Simple constructor for the base class.
|
Modifier and Type | Method and Description |
---|---|
protected abstract double |
argument(BodiesElements elements)
Compute the argument for the current date.
|
static SeriesTerm |
buildTerm(double sinCoeff,
double cosCoeff,
int cL,
int cLPrime,
int cF,
int cD,
int cOmega,
int cMe,
int cVe,
int cE,
int cMa,
int cJu,
int cSa,
int cUr,
int cNe,
int cPa)
Factory method for building the appropriate object.
|
double |
value(BodiesElements elements)
Compute the value of the term for the current date.
|
double[] |
value(BodiesElements elements,
BodiesElements elementsP)
Compute the value of the term for the current date and its first time derivative.
|
protected SeriesTerm(double sinCoeffIn, double cosCoeffIn)
sinCoeffIn
- coefficient for the sine of the argumentcosCoeffIn
- coefficient for the cosine of the argumentpublic double value(BodiesElements elements)
elements
- luni-solar and planetary elements for the current datepublic double[] value(BodiesElements elements, BodiesElements elementsP)
elements
- luni-solar and planetary elements for the current dateelementsP
- luni-solar and planetary time derivative elements for the current dateprotected abstract double argument(BodiesElements elements)
elements
- luni-solar and planetary elements for the current datepublic static SeriesTerm buildTerm(double sinCoeff, double cosCoeff, int cL, int cLPrime, int cF, int cD, int cOmega, int cMe, int cVe, int cE, int cMa, int cJu, int cSa, int cUr, int cNe, int cPa)
The method checks the null coefficients and build an instance of an appropriate type to avoid too many unnecessary multiplications by zero coefficients.
sinCoeff
- coefficient for the sine of the argumentcosCoeff
- coefficient for the cosine of the argumentcL
- coefficient for mean anomaly of the MooncLPrime
- coefficient for mean anomaly of the SuncF
- coefficient for L - Ω where L is the mean longitude of the MooncD
- coefficient for mean elongation of the Moon from the SuncOmega
- coefficient for mean longitude of the ascending node of the MooncMe
- coefficient for mean Mercury longitudecVe
- coefficient for mean Venus longitudecE
- coefficient for mean Earth longitudecMa
- coefficient for mean Mars longitudecJu
- coefficient for mean Jupiter longitudecSa
- coefficient for mean Saturn longitudecUr
- coefficient for mean Uranus longitudecNe
- coefficient for mean Neptune longitudecPa
- coefficient for general accumulated precession in longitudeCopyright © 2023 CNES. All rights reserved.