[][src]Trait nyx_space::dynamics::AccelModel

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

The AccelModel trait handles immutable dynamics which return an acceleration. Those can be added directly to Celestial Dynamics for example.

Examples include spherical harmonics, i.e. accelerations 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 in the integration frame.

Loading content...

Implementors

impl<'a> AccelModel for PointMasses<'a>[src]

impl<'a, S: GravityPotentialStor> AccelModel for Harmonics<'a, S>[src]

Loading content...