pub enum SmearingScheme {
Gaussian,
GaussianSplines,
FermiDirac,
HermitePolynomials,
ColdSmearing,
}Expand description
This keyword determines the Fermi-surface smearing scheme to be used if the system is being treated as a metal. Available options are:
- Gaussian
- GaussianSplines
- FermiDirac
- HermitePolynomials
- ColdSmearing
§Note
This parameter is used only if FIX_OCCUPANCY : FALSE.
§Default
Gaussian
§Example
SMEARING_SCHEME : ColdSmearing
Variants§
Trait Implementations§
Source§impl Clone for SmearingScheme
impl Clone for SmearingScheme
Source§fn clone(&self) -> SmearingScheme
fn clone(&self) -> SmearingScheme
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SmearingScheme
impl Debug for SmearingScheme
Source§impl Default for SmearingScheme
impl Default for SmearingScheme
Source§fn default() -> SmearingScheme
fn default() -> SmearingScheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SmearingScheme
impl<'de> Deserialize<'de> for SmearingScheme
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SmearingScheme
impl Display for SmearingScheme
Source§impl Hash for SmearingScheme
impl Hash for SmearingScheme
Source§impl KeywordDisplay for SmearingScheme
impl KeywordDisplay for SmearingScheme
Source§impl Ord for SmearingScheme
impl Ord for SmearingScheme
Source§fn cmp(&self, other: &SmearingScheme) -> Ordering
fn cmp(&self, other: &SmearingScheme) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SmearingScheme
impl PartialEq for SmearingScheme
Source§impl PartialOrd for SmearingScheme
impl PartialOrd for SmearingScheme
Source§impl Serialize for SmearingScheme
impl Serialize for SmearingScheme
impl Copy for SmearingScheme
impl Eq for SmearingScheme
impl StructuralPartialEq for SmearingScheme
Auto Trait Implementations§
impl Freeze for SmearingScheme
impl RefUnwindSafe for SmearingScheme
impl Send for SmearingScheme
impl Sync for SmearingScheme
impl Unpin for SmearingScheme
impl UnwindSafe for SmearingScheme
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