[][src]Trait linear_sim::integrator::Integrator

pub trait Integrator {
    fn integrate_dt<O: Temporal>(object: &mut O, dt: f64);
fn integrate_position_dt<O: Temporal>(object: &mut O, dt: f64);
fn integrate_velocity_dt<O: Temporal>(object: &mut O, dt: f64); fn integrate<O: Temporal>(object: &mut O) { ... }
fn integrate_position<O: Temporal>(object: &mut O) { ... }
fn integrate_velocity<O: Temporal>(object: &mut O) { ... } }

Interface trait for integrators of objects with time derivatives

Required methods

fn integrate_dt<O: Temporal>(object: &mut O, dt: f64)

fn integrate_position_dt<O: Temporal>(object: &mut O, dt: f64)

fn integrate_velocity_dt<O: Temporal>(object: &mut O, dt: f64)

Loading content...

Provided methods

fn integrate<O: Temporal>(object: &mut O)

fn integrate_position<O: Temporal>(object: &mut O)

fn integrate_velocity<O: Temporal>(object: &mut O)

Loading content...

Implementors

impl Integrator for SemiImplicitEuler[src]

fn integrate_dt<O: Temporal>(object: &mut O, dt: f64)[src]

Integrate with a step size of dt

fn integrate<O: Temporal>(object: &mut O)[src]

fn integrate_position<O: Temporal>(object: &mut O)[src]

fn integrate_velocity<O: Temporal>(object: &mut O)[src]

Loading content...