Skip to content

Class astrea::astro::EquationsOfMotion

ClassList > astrea > astro > EquationsOfMotion

Base class for equations of motion in astrodynamics.

  • #include <EquationsOfMotion.hpp>

Inherited by the following classes: astrea::astro::CowellsMethod, astrea::astro::EquinoctialVop, astrea::astro::J2MeanVop, astrea::astro::KeplerianVop, astrea::astro::TwoBody

Public Functions

Type Name
EquationsOfMotion () = default
Default constructor for the Equations of Motion class.
virtual StateTransitionMatrix compute_stm (const State & state, const Vehicle & vehicle) const = 0
Computes the state transition matrix (STM).
virtual constexpr std::size_t get_expected_set_id () const = 0
Returns the expected set of orbital elements for this method.
virtual OrbitalElementPartials operator() (const State & state, const Vehicle & vehicle) const = 0
Computes the partial derivatives of the orbital elements.
virtual ~EquationsOfMotion () = default
Destructor for the Equations of Motion class.

Public Functions Documentation

function EquationsOfMotion

Default constructor for the Equations of Motion class.

astrea::astro::EquationsOfMotion::EquationsOfMotion () = default


function compute_stm

Computes the state transition matrix (STM).

virtual StateTransitionMatrix astrea::astro::EquationsOfMotion::compute_stm (
    const State & state,
    const Vehicle & vehicle
) const = 0

Parameters:

  • date The current date for which the STM is being computed.
  • state The current state of the vehicle.
  • vehicle The vehicle for which the STM is being computed.

Returns:

StateTransitionMatrix The computed state transition matrix.


function get_expected_set_id

Returns the expected set of orbital elements for this method.

virtual constexpr std::size_t astrea::astro::EquationsOfMotion::get_expected_set_id () const = 0

Returns:

std::size_t The expected set id of orbital elements.


function operator()

Computes the partial derivatives of the orbital elements.

virtual OrbitalElementPartials astrea::astro::EquationsOfMotion::operator() (
    const State & state,
    const Vehicle & vehicle
) const = 0

Parameters:

  • date The current date for which the equations of motion are being computed.
  • state The current state of the vehicle.
  • vehicle The vehicle for which the equations of motion are being computed.

Returns:

OrbitalElementPartials The computed partial derivatives of the orbital elements.


function ~EquationsOfMotion

Destructor for the Equations of Motion class.

virtual astrea::astro::EquationsOfMotion::~EquationsOfMotion () = default



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