pub struct SolverOptions {
pub matching_threshold: f64,
pub phase_tolerance: f64,
pub consecutive: usize,
pub step_scale: f64,
pub max_l: usize,
pub light_speed: f64,
}Expand description
Numerical settings of the solver.
Fields§
§matching_threshold: f64Matching radius criterion: |r V(r)| < threshold (hartree bohr).
phase_tolerance: f64A partial wave is “small” when |delta| < phase_tolerance (rad).
consecutive: usizeNumber of consecutive small partial waves that ends the series.
step_scale: f64Radians of local phase per integrator step (smaller is more accurate).
max_l: usizeSafety cap on l.
light_speed: f64Speed of light, atomic units. Defaults to 1/alpha; the
non-relativistic limit is c -> infinity.
Trait Implementations§
Source§impl Clone for SolverOptions
impl Clone for SolverOptions
Source§fn clone(&self) -> SolverOptions
fn clone(&self) -> SolverOptions
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 SolverOptions
Source§impl Debug for SolverOptions
impl Debug for SolverOptions
Source§impl Default for SolverOptions
impl Default for SolverOptions
Source§impl PartialEq for SolverOptions
impl PartialEq for SolverOptions
impl StructuralPartialEq for SolverOptions
Auto Trait Implementations§
impl Freeze for SolverOptions
impl RefUnwindSafe for SolverOptions
impl Send for SolverOptions
impl Sync for SolverOptions
impl Unpin for SolverOptions
impl UnsafeUnpin for SolverOptions
impl UnwindSafe for SolverOptions
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