pub trait TimeStep {
type Time: Scalar + Float;
// Required methods
fn get_dt(&self) -> Self::Time;
fn set_dt(&mut self, dt: Self::Time);
}
Expand description
Interface for set/get time step for integration
pub trait TimeStep {
type Time: Scalar + Float;
// Required methods
fn get_dt(&self) -> Self::Time;
fn set_dt(&mut self, dt: Self::Time);
}
Interface for set/get time step for integration