pub struct SquareWell { /* private fields */ }Expand description
Spherical square well V = -depth for r < radius, 0 beyond (hartree,
bohr). A negative depth is a barrier.
Implementations§
Trait Implementations§
Source§impl Clone for SquareWell
impl Clone for SquareWell
Source§fn clone(&self) -> SquareWell
fn clone(&self) -> SquareWell
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 SquareWell
Source§impl Debug for SquareWell
impl Debug for SquareWell
Source§impl PartialEq for SquareWell
impl PartialEq for SquareWell
Source§impl ScreenedPotential for SquareWell
impl ScreenedPotential for SquareWell
Source§fn energy(&self, r: f64) -> f64
fn energy(&self, r: f64) -> f64
Potential energy
V(r) of the electron, hartree, at radius r bohr.
Attractive potentials are negative.Source§fn breakpoints(&self) -> Vec<f64>
fn breakpoints(&self) -> Vec<f64>
Radii at which
V is discontinuous; the integrator restarts there.Source§fn length_scale(&self) -> f64
fn length_scale(&self) -> f64
A length over which
V changes appreciably, bohr. It caps the step.Source§fn matching_radius(&self, _threshold: f64) -> f64
fn matching_radius(&self, _threshold: f64) -> f64
Radius beyond which the potential is neglected: the smallest radius on
a geometric grid (ratio 1.05, from
length_scale) with
|r V(r)| < threshold that also lies beyond every breakpoint.Source§fn nuclear_charge(&self) -> f64
fn nuclear_charge(&self) -> f64
Coefficient
Z of the point-Coulomb singularity V -> -Z/r at the
origin (0 for a regular potential). Selects the series used to start
the integration.Source§fn bound_energy_ev(&self) -> Option<f64>
fn bound_energy_ev(&self) -> Option<f64>
The kinetic energy (eV) this potential was built for, when it depends
on one (such as
CorrectedPotential, whose exchange and polarization
cutoff use the energy). ElasticSolver::new rejects any other solver
energy. The default, None, accepts every energy.Source§fn correction_metadata(&self) -> CorrectionMetadata
fn correction_metadata(&self) -> CorrectionMetadata
Which corrections the potential includes; copied into
ElasticResult::corrections by solve. The default reports both
off.impl StructuralPartialEq for SquareWell
Auto Trait Implementations§
impl Freeze for SquareWell
impl RefUnwindSafe for SquareWell
impl Send for SquareWell
impl Sync for SquareWell
impl Unpin for SquareWell
impl UnsafeUnpin for SquareWell
impl UnwindSafe for SquareWell
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