pub struct ThomasFermiYukawa;Expand description
Stand-in potential: a Yukawa (single exponential) screened Coulomb
potential V = -(Z/r) exp(-r/a) with the Thomas-Fermi length
a = 0.8853 a0 Z^(-1/3)
(thomas_fermi_constant,
Firsov 1958 / Lindhard, Scharff & Schiott 1963, see
docs/data-provenance.md). It is not an atomic DHFS potential; it was
the only potential while the Salvat et al. (1987) coefficients were
missing, and remains a cheap one for tests and benchmarks.
Implementations§
Source§impl ThomasFermiYukawa
impl ThomasFermiYukawa
Sourcepub fn yukawa(z: u8) -> Result<Yukawa, ElasticError>
pub fn yukawa(z: u8) -> Result<Yukawa, ElasticError>
The stand-in potential of element z. A Yukawa is also an
ElectronDensity (its Poisson density), which is what the optional
exchange and correlation-polarization corrections need
(AtomicElastic::compute_corrected).
Trait Implementations§
Source§impl Clone for ThomasFermiYukawa
impl Clone for ThomasFermiYukawa
Source§fn clone(&self) -> ThomasFermiYukawa
fn clone(&self) -> ThomasFermiYukawa
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 ThomasFermiYukawa
Source§impl Debug for ThomasFermiYukawa
impl Debug for ThomasFermiYukawa
Source§impl Default for ThomasFermiYukawa
impl Default for ThomasFermiYukawa
Source§fn default() -> ThomasFermiYukawa
fn default() -> ThomasFermiYukawa
Returns the “default value” for a type. Read more
Source§impl PartialEq for ThomasFermiYukawa
impl PartialEq for ThomasFermiYukawa
Source§impl PotentialSource for ThomasFermiYukawa
impl PotentialSource for ThomasFermiYukawa
Source§fn potential(&self, z: u8) -> Result<Box<dyn ScreenedPotential>, ElasticError>
fn potential(&self, z: u8) -> Result<Box<dyn ScreenedPotential>, ElasticError>
The potential of element
z.Source§fn description(&self) -> String
fn description(&self) -> String
One line naming the potential model and its origin. It is written into
the table’s
model and provenance strings.impl StructuralPartialEq for ThomasFermiYukawa
Auto Trait Implementations§
impl Freeze for ThomasFermiYukawa
impl RefUnwindSafe for ThomasFermiYukawa
impl Send for ThomasFermiYukawa
impl Sync for ThomasFermiYukawa
impl Unpin for ThomasFermiYukawa
impl UnsafeUnpin for ThomasFermiYukawa
impl UnwindSafe for ThomasFermiYukawa
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