public class HansenThirdBodyLinear extends Object
Implements Collins 4-254 or Danielson 2.7.3-(7) for Hansen Coefficients and Danielson 3.2-(3) for derivatives. The recursions are transformed into composition of linear transformations to obtain the associated polynomials for coefficients and their derivatives - see Petre's paper
Constructor and Description |
---|
HansenThirdBodyLinear(int nMax,
int s)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
computeInitValues(double chitm1,
double chitm2,
double chitm3)
Compute the initial values (see Collins, 4-255, 4-256 and 4.259)
|
double |
getDerivative(int n,
double chitm1)
Compute the value of the Hansen coefficient dK₀n, s / dΧ.
|
double |
getValue(int n,
double chitm1)
Compute the value of the Hansen coefficient K₀n, s.
|
public HansenThirdBodyLinear(int nMax, int s)
nMax
- the maximum value of ns
- the value of spublic void computeInitValues(double chitm1, double chitm2, double chitm3)
K₀s, s = (-1)s * ( (2*s+1)!! / (s+1)! )
K₀s+1, s = (-1)s * ( (2*s+1)!! / (s+2)! ) * (2*s+3 - χ-2)
dK₀s+1, s / dχ = = (-1)s * 2 * ( (2*s+1)!! / (s+2)! ) * χ-3
chitm1
- sqrt(1 - e²)chitm2
- sqrt(1 - e²)²chitm3
- sqrt(1 - e²)³public double getValue(int n, double chitm1)
n
- n valuechitm1
- χ-1public double getDerivative(int n, double chitm1)
n
- n valuechitm1
- χ-1Copyright © 2002-2020 CS GROUP. All rights reserved.