pub enum GediisVariant {
RfoDiis,
EnergyDiis,
SimultaneousDiis,
}Expand description
GEDIIS matrix variant selection.
Variants§
RfoDiis
RFO-DIIS: A[i,j] = <q_i, q_j> where q = quadratic step
EnergyDiis
Energy-DIIS: A[i,j] = g_i·R_i + g_j·R_j - g_i·R_j - g_j·R_i
SimultaneousDiis
Simultaneous: EnDIS + 0.5*(g_i·g_i/H + g_j·g_j/H)
Trait Implementations§
Source§impl Clone for GediisVariant
impl Clone for GediisVariant
Source§fn clone(&self) -> GediisVariant
fn clone(&self) -> GediisVariant
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 GediisVariant
impl Debug for GediisVariant
Source§impl Default for GediisVariant
impl Default for GediisVariant
Source§fn default() -> GediisVariant
fn default() -> GediisVariant
Returns the “default value” for a type. Read more
Source§impl PartialEq for GediisVariant
impl PartialEq for GediisVariant
impl Copy for GediisVariant
impl Eq for GediisVariant
impl StructuralPartialEq for GediisVariant
Auto Trait Implementations§
impl Freeze for GediisVariant
impl RefUnwindSafe for GediisVariant
impl Send for GediisVariant
impl Sync for GediisVariant
impl Unpin for GediisVariant
impl UnsafeUnpin for GediisVariant
impl UnwindSafe for GediisVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.