pub enum PennAlgorithm {
SinglePole,
Full,
Mermin,
}Expand description
Which ELF-extension model to use.
Variants§
SinglePole
The single-pole approximation (Shinotsuka et al. 2017 eqs. (7)-(13)).
Full
The full Penn algorithm over Lindhard dielectric functions (eq. (4)).
Mermin
A fit of Mermin oscillators to the optical ELF (MELF-GOS; dV2022
eqs. (3)-(5), see super::mermin), extended to finite momentum by
the Mermin dielectric function.
Implementations§
Source§impl PennAlgorithm
impl PennAlgorithm
Trait Implementations§
Source§impl Clone for PennAlgorithm
impl Clone for PennAlgorithm
Source§fn clone(&self) -> PennAlgorithm
fn clone(&self) -> PennAlgorithm
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 PennAlgorithm
Source§impl Debug for PennAlgorithm
impl Debug for PennAlgorithm
impl Eq for PennAlgorithm
Source§impl FromStr for PennAlgorithm
impl FromStr for PennAlgorithm
Source§impl Hash for PennAlgorithm
impl Hash for PennAlgorithm
Source§impl PartialEq for PennAlgorithm
impl PartialEq for PennAlgorithm
impl StructuralPartialEq for PennAlgorithm
Auto Trait Implementations§
impl Freeze for PennAlgorithm
impl RefUnwindSafe for PennAlgorithm
impl Send for PennAlgorithm
impl Sync for PennAlgorithm
impl Unpin for PennAlgorithm
impl UnsafeUnpin for PennAlgorithm
impl UnwindSafe for PennAlgorithm
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