#[repr(i32)]pub enum Ias15AdaptiveMode {
Individual = 0,
Global = 1,
Prs23 = 2,
Aarseth85 = 3,
}Expand description
IAS15 timestep-adaptation rule. REBOUND default since 2024-01 is
Self::Prs23; older code used Self::Global.
Variants§
Individual = 0
Per-particle fractional error.
Global = 1
Single global fractional-error estimate (default before 2024-01).
Prs23 = 2
Pham, Rein & Spiegel (2023) criterion (default since 2024-01).
Aarseth85 = 3
Aarseth (1985) timestep criterion.
Trait Implementations§
Source§impl Clone for Ias15AdaptiveMode
impl Clone for Ias15AdaptiveMode
Source§fn clone(&self) -> Ias15AdaptiveMode
fn clone(&self) -> Ias15AdaptiveMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Ias15AdaptiveMode
impl Debug for Ias15AdaptiveMode
Source§impl PartialEq for Ias15AdaptiveMode
impl PartialEq for Ias15AdaptiveMode
Source§fn eq(&self, other: &Ias15AdaptiveMode) -> bool
fn eq(&self, other: &Ias15AdaptiveMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Ias15AdaptiveMode
impl Eq for Ias15AdaptiveMode
impl StructuralPartialEq for Ias15AdaptiveMode
Auto Trait Implementations§
impl Freeze for Ias15AdaptiveMode
impl RefUnwindSafe for Ias15AdaptiveMode
impl Send for Ias15AdaptiveMode
impl Sync for Ias15AdaptiveMode
impl Unpin for Ias15AdaptiveMode
impl UnsafeUnpin for Ias15AdaptiveMode
impl UnwindSafe for Ias15AdaptiveMode
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