Class astrea::astro::OblatenessForce¶
ClassList > astrea > astro > OblatenessForce
Class to compute the gravitational force due to the oblateness of a celestial body.
#include <OblatenessForce.hpp>
Inherits the following classes: astrea::astro::Force
Public Functions¶
| Type | Name |
|---|---|
| OblatenessForce (const AstrodynamicsSystem & sys, const std::size_t & N=2, const std::size_t & M=0) Constructor for OblatenessForce . |
|
| virtual CartesianVector< Acceleration, frames::earth::icrf > | compute_force (const State & state, const Vehicle & vehicle) const Computes the gravitational force using Montenbruck & Gill (2000) V and W recurrence relations. |
| ~OblatenessForce () = default Default destructor for OblatenessForce . |
Public Functions inherited from astrea::astro::Force¶
| Type | Name |
|---|---|
| Force () = default Default constructor for Force . |
|
| virtual CartesianVector< Acceleration, frames::earth::icrf > | compute_force (const State & state, const Vehicle & vehicle) const = 0 Computes the force acting on a vehicle at a given date and state. |
| virtual | ~Force () = default Default destructor for Force . |
Public Functions Documentation¶
function OblatenessForce¶
Constructor for OblatenessForce .
astrea::astro::OblatenessForce::OblatenessForce (
const AstrodynamicsSystem & sys,
const std::size_t & N=2,
const std::size_t & M=0
)
Parameters:
sysAstrodynamics system containing celestial body dataNDegree of the spherical harmonics (default is 2)MOrder of the spherical harmonics (default is 0)findExactLegendreWhether to find exact Legendre values (default is false)useFastLegendreWhether to use fast lookup for Legendre polynomials without interpolation (default is true)
function compute_force¶
Computes the gravitational force using Montenbruck & Gill (2000) V and W recurrence relations.
virtual CartesianVector < Acceleration, frames::earth::icrf > astrea::astro::OblatenessForce::compute_force (
const State & state,
const Vehicle & vehicle
) const
This method implements the algorithm from "Satellite Orbits: Models, Methods and Applications" by O. Montenbruck and E. Gill (Springer, 2000), which uses V and W auxiliary functions with recurrence relations for more efficient and numerically stable computation.
Parameters:
Returns:
AccelerationVector<frames::earth::icrf> The computed acceleration vector due to oblateness.
Implements astrea::astro::Force::compute_force
function ~OblatenessForce¶
Default destructor for OblatenessForce .
The documentation for this class was generated from the following file astrea/astro/astro/propagation/force_models/OblatenessForce.hpp