pub struct PDESolverInfo {
pub num_iterations: usize,
pub computation_time: f64,
pub residual_norm: Option<f64>,
pub convergence_history: Option<Vec<f64>>,
pub method: String,
}Expand description
Information about the PDE solver run
Fields§
§num_iterations: usizeNumber of iterations performed
computation_time: f64Computation time in seconds
residual_norm: Option<f64>Final residual norm
convergence_history: Option<Vec<f64>>Convergence history
method: StringMethod used to solve the PDE
Trait Implementations§
Source§impl Clone for PDESolverInfo
impl Clone for PDESolverInfo
Source§fn clone(&self) -> PDESolverInfo
fn clone(&self) -> PDESolverInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for PDESolverInfo
impl RefUnwindSafe for PDESolverInfo
impl Send for PDESolverInfo
impl Sync for PDESolverInfo
impl Unpin for PDESolverInfo
impl UnwindSafe for PDESolverInfo
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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