Class astrea::astro::LegendreCache¶
ClassList > astrea > astro > LegendreCache
Public Functions¶
| Type | Name |
|---|---|
| LegendreCache () = default Default constructor for LegendreCache . |
|
| LegendreCache (const AstrodynamicsSystem & sys, const std::size_t & degree, const std::size_t & order) Builds the cache for Legendre polynomials and coefficients. |
|
| Unitless | get_cosine_coefficient (const std::size_t & n, const std::size_t & m) const Gets the cosine coefficient for given n and m. |
| Unitless | get_normalizing_coefficient (const std::size_t & n, const std::size_t & m) const Gets the normalizing coefficient for given n and m. |
| Unitless | get_sine_coefficient (const std::size_t & n, const std::size_t & m) const Gets the sine coefficient for given n and m. |
| ~LegendreCache () = default Default destructor for LegendreCache . |
Public Functions Documentation¶
function LegendreCache [1/2]¶
Default constructor for LegendreCache .
function LegendreCache [2/2]¶
Builds the cache for Legendre polynomials and coefficients.
astrea::astro::LegendreCache::LegendreCache (
const AstrodynamicsSystem & sys,
const std::size_t & degree,
const std::size_t & order
)
Parameters:
sysAstrodynamics system containing celestial body datadegreeDegree of the spherical harmonicsorderOrder of the spherical harmonics
function get_cosine_coefficient¶
Gets the cosine coefficient for given n and m.
Unitless astrea::astro::LegendreCache::get_cosine_coefficient (
const std::size_t & n,
const std::size_t & m
) const
Parameters:
nDegree of the polynomialmOrder of the polynomial
Returns:
Unitless The value of the cosine coefficient Cnm
function get_normalizing_coefficient¶
Gets the normalizing coefficient for given n and m.
Unitless astrea::astro::LegendreCache::get_normalizing_coefficient (
const std::size_t & n,
const std::size_t & m
) const
Parameters:
nDegree of the polynomialmOrder of the polynomial
Returns:
Unitless The value of the normalizing coefficient Nnm
function get_sine_coefficient¶
Gets the sine coefficient for given n and m.
Unitless astrea::astro::LegendreCache::get_sine_coefficient (
const std::size_t & n,
const std::size_t & m
) const
Parameters:
nDegree of the polynomialmOrder of the polynomial
Returns:
Unitless The value of the sine coefficient Snm
function ~LegendreCache¶
Default destructor for LegendreCache .
The documentation for this class was generated from the following file astrea/astro/astro/propagation/force_models/OblatenessForce.hpp