pub enum TimeStep {
Fixed(f64),
Adaptive(AdaptiveConfig),
}Expand description
How a transient run picks its step size.
Variants§
Fixed(f64)
The same dt every step, exactly as before this module existed.
Adaptive(AdaptiveConfig)
Local-truncation-error-driven: see AdaptiveConfig.
Trait Implementations§
impl Copy for TimeStep
impl StructuralPartialEq for TimeStep
Auto Trait Implementations§
impl Forget for TimeStep
impl Freeze for TimeStep
impl Move for TimeStep
impl RefUnwindSafe for TimeStep
impl Send for TimeStep
impl Sync for TimeStep
impl Unpin for TimeStep
impl UnsafeUnpin for TimeStep
impl UnwindSafe for TimeStep
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more