Class astrea::astro::NBodyForce¶
ClassList > astrea > astro > NBodyForce
Class to compute the gravitational force due to multiple celestial bodies.
#include <NBodyForce.hpp>
Inherits the following classes: astrea::astro::Force
Public Functions¶
| Type | Name |
|---|---|
| NBodyForce () = default Default constructor for NBodyForce . |
|
| virtual CartesianVector< Acceleration, frames::earth::icrf > | compute_force (const State & state, const Vehicle & vehicle) override const Computes the gravitational force due to multiple celestial bodies. |
| ~NBodyForce () = default Default destructor for NBodyForce . |
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 NBodyForce¶
Default constructor for NBodyForce .
function compute_force¶
Computes the gravitational force due to multiple celestial bodies.
virtual CartesianVector < Acceleration, frames::earth::icrf > astrea::astro::NBodyForce::compute_force (
const State & state,
const Vehicle & vehicle
) override const
Parameters:
Returns:
AccelerationVector<frames::earth::icrf> The computed acceleration vector due to multiple bodies.
Implements astrea::astro::Force::compute_force
function ~NBodyForce¶
Default destructor for NBodyForce .
The documentation for this class was generated from the following file astrea/astro/astro/propagation/force_models/NBodyForce.hpp