pub struct ElecEigenvalueTol {
pub tol: f64,
pub unit: Option<EnergyUnit>,
}Expand description
This keyword controls the tolerance for accepting convergence of a single eigenvalue during density mixing minimization. The difference between maximum and minimum eigenvalues over ELEC_CONVERGENCE_WIN iterations must be less than this value.
§Default
The default value is the lower of 1x10-6 eV and ELEC_ENERGY_TOL*NATOMS/NBANDS, where NATOMS is the total number of atoms in the unit cell.
Fields§
§tol: f64§unit: Option<EnergyUnit>Trait Implementations§
Source§impl Clone for ElecEigenvalueTol
impl Clone for ElecEigenvalueTol
Source§fn clone(&self) -> ElecEigenvalueTol
fn clone(&self) -> ElecEigenvalueTol
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 ElecEigenvalueTol
impl Debug for ElecEigenvalueTol
Source§impl Default for ElecEigenvalueTol
impl Default for ElecEigenvalueTol
Source§fn default() -> ElecEigenvalueTol
fn default() -> ElecEigenvalueTol
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ElecEigenvalueTol
impl<'de> Deserialize<'de> for ElecEigenvalueTol
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 ElecEigenvalueTol
impl Display for ElecEigenvalueTol
Source§impl From<f64> for ElecEigenvalueTol
impl From<f64> for ElecEigenvalueTol
Source§fn from(value: f64) -> ElecEigenvalueTol
fn from(value: f64) -> ElecEigenvalueTol
Converts to this type from the input type.
Source§impl KeywordDisplay for ElecEigenvalueTol
impl KeywordDisplay for ElecEigenvalueTol
Source§impl PartialEq for ElecEigenvalueTol
impl PartialEq for ElecEigenvalueTol
Source§impl PartialOrd for ElecEigenvalueTol
impl PartialOrd for ElecEigenvalueTol
Source§impl Serialize for ElecEigenvalueTol
impl Serialize for ElecEigenvalueTol
impl Copy for ElecEigenvalueTol
impl StructuralPartialEq for ElecEigenvalueTol
Auto Trait Implementations§
impl Freeze for ElecEigenvalueTol
impl RefUnwindSafe for ElecEigenvalueTol
impl Send for ElecEigenvalueTol
impl Sync for ElecEigenvalueTol
impl Unpin for ElecEigenvalueTol
impl UnwindSafe for ElecEigenvalueTol
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