pub struct Q6Bar {
pub values: Vec<f64>,
pub mean: f64,
pub median: f64,
pub n_ice: i32,
}Expand description
Lechner-Dellago q6-bar and the ice count above a cut.
let (xyz, edge) = seams::diamond8();
let mut system = seams::System::new()?;
system.set_ortho(&xyz, edge, edge, edge)?;
let summary = system.q6bar(&seams::Q6BarOptions::default())?;
assert_eq!(summary.values.len(), 8);
assert!(summary.mean.is_finite());Fields§
§values: Vec<f64>One q6-bar per atom.
mean: f64Mean of the finite values.
median: f64Median of the finite values.
n_ice: i32Count strictly above the cut.
Trait Implementations§
impl StructuralPartialEq for Q6Bar
Auto Trait Implementations§
impl Freeze for Q6Bar
impl RefUnwindSafe for Q6Bar
impl Send for Q6Bar
impl Sync for Q6Bar
impl Unpin for Q6Bar
impl UnsafeUnpin for Q6Bar
impl UnwindSafe for Q6Bar
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