[][src]Trait nyx_space::dynamics::ForceModel

pub trait ForceModel {
    fn eom(&self, osc: &State) -> Vector3<f64>;
}

The ForceModel trait handles immutable dynamics which return a force. Those will be divided by the mass of the spacecraft to compute the acceleration (F = ma).

Examples include Solar Radiation Pressure, drag, etc., i.e. forces which do not need to save the current state, only act on it.

Required methods

fn eom(&self, osc: &State) -> Vector3<f64>

Defines the equations of motion for this force model from the provided osculating state.

Loading content...

Implementors

impl<'a> ForceModel for ConstantDrag<'a>[src]

impl<'a> ForceModel for ExpEarthDrag<'a>[src]

impl<'a> ForceModel for SolarPressure<'a>[src]

Loading content...