pub struct MixMetricQ {
pub q: f64,
pub unit: Option<InvLengthUnit>,
}Expand description
This keyword determines the weighting factor for the densities used in
the density mixing scheme.
CASTEP uses a weighting factor when evaluating scalar products of densities.
The factor depends on the wave vector q, according to:
f(q) = (q2 + q12)/q2
where q1 is the value of the MIX_METRIC_Q parameter.
CASTEP sets the value of q1 automatically if MIX_METRIC_Q is not specified.
§Default
-1 - CASTEP will automatically select the appropriate value
§Example
MIX_METRIC_Q : 20.0 1/ang
Fields§
§q: f64§unit: Option<InvLengthUnit>Trait Implementations§
Source§impl Clone for MixMetricQ
impl Clone for MixMetricQ
Source§fn clone(&self) -> MixMetricQ
fn clone(&self) -> MixMetricQ
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 MixMetricQ
impl Debug for MixMetricQ
Source§impl Default for MixMetricQ
impl Default for MixMetricQ
Source§fn default() -> MixMetricQ
fn default() -> MixMetricQ
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MixMetricQ
impl<'de> Deserialize<'de> for MixMetricQ
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 MixMetricQ
impl Display for MixMetricQ
Source§impl From<f64> for MixMetricQ
impl From<f64> for MixMetricQ
Source§fn from(value: f64) -> MixMetricQ
fn from(value: f64) -> MixMetricQ
Converts to this type from the input type.
Source§impl KeywordDisplay for MixMetricQ
impl KeywordDisplay for MixMetricQ
Source§impl PartialEq for MixMetricQ
impl PartialEq for MixMetricQ
Source§impl PartialOrd for MixMetricQ
impl PartialOrd for MixMetricQ
Source§impl Serialize for MixMetricQ
impl Serialize for MixMetricQ
impl Copy for MixMetricQ
impl StructuralPartialEq for MixMetricQ
Auto Trait Implementations§
impl Freeze for MixMetricQ
impl RefUnwindSafe for MixMetricQ
impl Send for MixMetricQ
impl Sync for MixMetricQ
impl Unpin for MixMetricQ
impl UnwindSafe for MixMetricQ
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