pub struct Steinhardt {
pub local: Vec<f64>,
pub average: Option<Vec<f64>>,
}Expand description
Local Steinhardt parameter, and the average when it was requested.
let (xyz, edge) = seams::diamond8();
let mut system = seams::System::new()?;
system.set_ortho(&xyz, edge, edge, edge)?;
let q6 = system.steinhardt(&seams::SteinhardtOptions { average: true, ..Default::default() })?;
assert_eq!(q6.local.len(), 8);
assert_eq!(q6.average.as_ref().map(Vec::len), Some(8));Fields§
§local: Vec<f64>One local q_l per atom. Dimensionless.
average: Option<Vec<f64>>Lechner-Dellago averaged q_l (formed from the neighbour-averaged q_lm). None when the average was not requested.
Trait Implementations§
Source§impl Clone for Steinhardt
impl Clone for Steinhardt
Source§impl Debug for Steinhardt
impl Debug for Steinhardt
Source§impl PartialEq for Steinhardt
impl PartialEq for Steinhardt
impl StructuralPartialEq for Steinhardt
Auto Trait Implementations§
impl Forget for Steinhardt
impl Freeze for Steinhardt
impl Move for Steinhardt
impl RefUnwindSafe for Steinhardt
impl Send for Steinhardtwhere
RawVecInner: Send,
impl Sync for Steinhardtwhere
RawVecInner: Sync,
impl Unpin for Steinhardt
impl UnsafeUnpin for Steinhardt
impl UnwindSafe for Steinhardtwhere
RawVecInner: UnwindSafe,
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