pub struct Euler {
pub config: OdeSolverConfig,
/* private fields */
}Expand description
Explicit first-order Euler solver with adaptive step size.
Maps to Foam::Euler (which inherits from adaptiveSolver).
Fields§
§config: OdeSolverConfigImplementations§
Source§impl Euler
impl Euler
pub fn new(n: usize, abs_tol: f64, rel_tol: f64) -> Self
Auto Trait Implementations§
impl Freeze for Euler
impl RefUnwindSafe for Euler
impl Send for Euler
impl Sync for Euler
impl Unpin for Euler
impl UnsafeUnpin for Euler
impl UnwindSafe for Euler
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