Class astrea::astro::TwoBody¶
ClassList > astrea > astro > TwoBody
Class implementing the Two Body equations of motion.
#include <TwoBody.hpp>
Inherits the following classes: astrea::astro::EquationsOfMotion
Public Functions¶
| Type | Name |
|---|---|
| TwoBody () = default Default constructor for the Two Body equations of motion class. |
|
| virtual StateTransitionMatrix | compute_stm (const State & state, const Vehicle & vehicle) override const Computes the state transition matrix (STM) using the Two Body method. |
| virtual constexpr std::size_t | get_expected_set_id () override const Returns the expected set of orbital elements for this equations of motion class. |
| virtual OrbitalElementPartials | operator() (const State & state, const Vehicle & vehicle) override const Computes the partial derivatives of the orbital elements using the Two Body method. |
| ~TwoBody () = default Destructor for the Two Body equations of motion class. |
Public Functions inherited from astrea::astro::EquationsOfMotion¶
See astrea::astro::EquationsOfMotion
| 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 TwoBody¶
Default constructor for the Two Body equations of motion class.
function compute_stm¶
Computes the state transition matrix (STM) using the Two Body method.
virtual StateTransitionMatrix astrea::astro::TwoBody::compute_stm (
const State & state,
const Vehicle & vehicle
) override const
Parameters:
stateThe current state of the vehicle.vehicleThe vehicle for which the STM is being computed.
Returns:
StateTransitionMatrix The computed state transition matrix.
Implements astrea::astro::EquationsOfMotion::compute_stm
function get_expected_set_id¶
Returns the expected set of orbital elements for this equations of motion class.
Returns:
std::size_t The expected set id of orbital elements.
Implements astrea::astro::EquationsOfMotion::get_expected_set_id
function operator()¶
Computes the partial derivatives of the orbital elements using the Two Body method.
virtual OrbitalElementPartials astrea::astro::TwoBody::operator() (
const State & state,
const Vehicle & vehicle
) override const
Parameters:
stateThe current state of the vehicle.vehicleThe vehicle for which the equations of motion are being computed.
Returns:
OrbitalElementPartials The computed partial derivatives of the orbital elements.
Implements astrea::astro::EquationsOfMotion::operator()
function ~TwoBody¶
Destructor for the Two Body equations of motion class.
The documentation for this class was generated from the following file astrea/astro/astro/propagation/equations_of_motion/TwoBody.hpp