Skip to content

Class astrea::astro::Force

ClassList > astrea > astro > Force

Abstract base class for force models in astrodynamics. More...

  • #include <Force.hpp>

Inherited by the following classes: astrea::astro::AtmosphericForce, astrea::astro::NBodyForce, astrea::astro::OblatenessForce, astrea::astro::SolarRadiationPressure

Public Functions

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 .

Detailed Description

This class defines the interface for computing forces acting on a vehicle in space.

Public Functions Documentation

function Force

Default constructor for Force .

astrea::astro::Force::Force () = default


function compute_force

Computes the force acting on a vehicle at a given date and state.

virtual CartesianVector < Acceleration, frames::earth::icrf > astrea::astro::Force::compute_force (
    const State & state,
    const Vehicle & vehicle
) const = 0

Parameters:

  • state State of the vehicle
  • vehicle Vehicle object representing the spacecraft

Returns:

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


function ~Force

Default destructor for Force .

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



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