pub struct IdeOptions<S: Scalar> {
pub dt: S,
pub max_steps: usize,
pub tol: S,
pub max_iter: usize,
pub quad_points: usize,
}Expand description
Options for IDE solvers.
Fields§
§dt: STime step size
max_steps: usizeMaximum number of steps
tol: STolerance for iterative methods
max_iter: usizeMaximum iterations for implicit methods
quad_points: usizeNumber of quadrature points per step for integral
Implementations§
Trait Implementations§
Source§impl<S: Clone + Scalar> Clone for IdeOptions<S>
impl<S: Clone + Scalar> Clone for IdeOptions<S>
Source§fn clone(&self) -> IdeOptions<S>
fn clone(&self) -> IdeOptions<S>
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 moreAuto Trait Implementations§
impl<S> Freeze for IdeOptions<S>where
S: Freeze,
impl<S> RefUnwindSafe for IdeOptions<S>where
S: RefUnwindSafe,
impl<S> Send for IdeOptions<S>
impl<S> Sync for IdeOptions<S>
impl<S> Unpin for IdeOptions<S>where
S: Unpin,
impl<S> UnsafeUnpin for IdeOptions<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for IdeOptions<S>where
S: UnwindSafe,
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