pub struct SpinFix(/* private fields */);Expand description
This keyword determines the number of electronic iterations for which the total spin is fixed. If SPIN_FIX is less than 0, the spin will be fixed for the duration of the calculation. This keyword only effects the behavior of the electronic minimizer in the initial SCF calculation. There is a separate keyword, GEOM_SPIN_FIX, which should be used to fix the spin of the system during geometry optimization.
§Note
This parameter is only used if FIX_OCCUPANCY : FALSE. So, for insulators the spin is fixed regardless of the value of SPIN_FIX.
§Default
10
§Example
SPIN_FIX : 5
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpinFix
impl<'de> Deserialize<'de> for SpinFix
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 KeywordDisplay for SpinFix
impl KeywordDisplay for SpinFix
Source§impl Ord for SpinFix
impl Ord for SpinFix
Source§impl PartialOrd for SpinFix
impl PartialOrd for SpinFix
impl Copy for SpinFix
impl Eq for SpinFix
impl StructuralPartialEq for SpinFix
Auto Trait Implementations§
impl Freeze for SpinFix
impl RefUnwindSafe for SpinFix
impl Send for SpinFix
impl Sync for SpinFix
impl Unpin for SpinFix
impl UnwindSafe for SpinFix
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