Skip to content

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

See 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:

  • sys Astrodynamics system containing celestial body data
  • N Degree of the spherical harmonics (default is 2)
  • M Order of the spherical harmonics (default is 0)
  • findExactLegendre Whether to find exact Legendre values (default is false)
  • useFastLegendre Whether 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:

  • state Cartesian state vector of the vehicle
  • vehicle Vehicle object representing the spacecraft

Returns:

AccelerationVector<frames::earth::icrf> The computed acceleration vector due to oblateness.

Implements astrea::astro::Force::compute_force


function ~OblatenessForce

Default destructor for OblatenessForce .

astrea::astro::OblatenessForce::~OblatenessForce () = default



The documentation for this class was generated from the following file astrea/astro/astro/propagation/force_models/OblatenessForce.hpp