public class HansenZonalLinear extends Object
Implements Collins 4-242 or echivalently, Danielson 2.7.3-(6) for Hansen Coefficients and Collins 4-245 or Danielson 3.1-(7) 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 |
---|
HansenZonalLinear(int nMax,
int s)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
computeInitValues(double chi)
Compute the roots for the Hansen coefficients and their derivatives.
|
double |
getDerivative(int mnm1,
double chi)
Get the dK₀-n-1,s / dΧ coefficient derivative.
|
double |
getValue(int mnm1,
double chi)
Get the K₀-n-1,s coefficient value.
|
public HansenZonalLinear(int nMax, int s)
nMax
- the maximum (absolute) value of n coefficients
- s coefficientpublic void computeInitValues(double chi)
chi
- 1 / sqrt(1 - e²)public double getValue(int mnm1, double chi)
The s value is given in the class constructor
mnm1
- (-n-1) coefficientchi
- The value of χpublic double getDerivative(int mnm1, double chi)
The s value is given in the class constructor.
mnm1
- (-n-1) coefficientchi
- The value of χCopyright © 2002-2020 CS GROUP. All rights reserved.