pub struct RkBugConfig {
pub tolerance: f64,
pub max_rank: usize,
pub rk_order: usize,
pub rank_increase: usize,
pub conservative: bool,
}Expand description
Configuration for the RK-BUG integrator.
Fields§
§tolerance: f64Truncation tolerance for BUG sub-steps and HT additions.
max_rank: usizeMaximum rank per node.
rk_order: usizeRK order (currently supports 3 for SSP-RK3).
rank_increase: usizeNumber of extra basis columns per BUG K-step.
conservative: boolApply conservative correction after each stage.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RkBugConfig
impl RefUnwindSafe for RkBugConfig
impl Send for RkBugConfig
impl Sync for RkBugConfig
impl Unpin for RkBugConfig
impl UnsafeUnpin for RkBugConfig
impl UnwindSafe for RkBugConfig
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
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more