pub struct RateRefinement {
pub window_ev: (f64, f64),
pub tolerance: f64,
pub max_rows: usize,
}Expand description
Extra rows that resolve the inelastic rate λ⁻¹(E) near the Fermi level
on the band-bottom axis (module docs, “Rate refinement”; #339).
Fields§
§window_ev: (f64, f64)The window of E - E_F (eV) whose cells are refined: a cell is
refined when it overlaps it.
tolerance: f64The relative tolerance of the linear interpolation of the rate at a cell’s test points (its quartiles and midpoint).
max_rows: usizeThe most rows the refinement may add; more is an error.
Trait Implementations§
Source§impl Clone for RateRefinement
impl Clone for RateRefinement
Source§fn clone(&self) -> RateRefinement
fn clone(&self) -> RateRefinement
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 moreimpl Copy for RateRefinement
Source§impl Debug for RateRefinement
impl Debug for RateRefinement
Source§impl PartialEq for RateRefinement
impl PartialEq for RateRefinement
impl StructuralPartialEq for RateRefinement
Auto Trait Implementations§
impl Freeze for RateRefinement
impl RefUnwindSafe for RateRefinement
impl Send for RateRefinement
impl Sync for RateRefinement
impl Unpin for RateRefinement
impl UnsafeUnpin for RateRefinement
impl UnwindSafe for RateRefinement
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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