pub struct MaxCgSteps(/* private fields */);Expand description
This keyword determines the maximum number of conjugate gradient steps in an SCF cycle.
§Default
The default depends on the value of ELECTRONIC_MINIMIZER:
SD then MAX_CG_STEPS : 0
CG then MAX_CG_STEPS : 4
RMM/DIIS then MAX_CG_STEPS : 2
If ELECTRONIC_MINIMIZER is not defined, the default is 4.
§Example
MAX_CG_STEPS : 5
Implementations§
Source§impl MaxCgSteps
impl MaxCgSteps
pub fn default_value(electronic_minimizer: ElectronicMinimizer) -> Self
Trait Implementations§
Source§impl Clone for MaxCgSteps
impl Clone for MaxCgSteps
Source§fn clone(&self) -> MaxCgSteps
fn clone(&self) -> MaxCgSteps
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 MaxCgSteps
impl Debug for MaxCgSteps
Source§impl Default for MaxCgSteps
impl Default for MaxCgSteps
Source§fn default() -> MaxCgSteps
fn default() -> MaxCgSteps
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MaxCgSteps
impl<'de> Deserialize<'de> for MaxCgSteps
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 MaxCgSteps
impl Display for MaxCgSteps
Source§impl From<u32> for MaxCgSteps
impl From<u32> for MaxCgSteps
Source§impl Hash for MaxCgSteps
impl Hash for MaxCgSteps
Source§impl KeywordDisplay for MaxCgSteps
impl KeywordDisplay for MaxCgSteps
Source§impl Ord for MaxCgSteps
impl Ord for MaxCgSteps
Source§fn cmp(&self, other: &MaxCgSteps) -> Ordering
fn cmp(&self, other: &MaxCgSteps) -> 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 MaxCgSteps
impl PartialEq for MaxCgSteps
Source§impl PartialOrd for MaxCgSteps
impl PartialOrd for MaxCgSteps
Source§impl Serialize for MaxCgSteps
impl Serialize for MaxCgSteps
impl Copy for MaxCgSteps
impl Eq for MaxCgSteps
impl StructuralPartialEq for MaxCgSteps
Auto Trait Implementations§
impl Freeze for MaxCgSteps
impl RefUnwindSafe for MaxCgSteps
impl Send for MaxCgSteps
impl Sync for MaxCgSteps
impl Unpin for MaxCgSteps
impl UnwindSafe for MaxCgSteps
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