pub struct StaticStructureFactorDirectResult {
pub k_magnitudes: Array1<F>,
pub sk: Array1<F>,
pub n_particles: usize,
}Expand description
Per-frame direct-SSF result.
When the analyzer was constructed via StaticStructureFactorDirect::new
(explicit k-vectors), sk holds S(k_vec) for each input k-vector and
k_magnitudes holds their magnitudes. With
isotropic, sk is the
spherically averaged S(|k|) and k_magnitudes is the bin-centres
array.
Fields§
§k_magnitudes: Array1<F>§sk: Array1<F>§n_particles: usizeTrait Implementations§
Source§impl Clone for StaticStructureFactorDirectResult
impl Clone for StaticStructureFactorDirectResult
Source§fn clone(&self) -> StaticStructureFactorDirectResult
fn clone(&self) -> StaticStructureFactorDirectResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for StaticStructureFactorDirectResult
impl Default for StaticStructureFactorDirectResult
Source§fn default() -> StaticStructureFactorDirectResult
fn default() -> StaticStructureFactorDirectResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StaticStructureFactorDirectResult
impl RefUnwindSafe for StaticStructureFactorDirectResult
impl Send for StaticStructureFactorDirectResult
impl Sync for StaticStructureFactorDirectResult
impl Unpin for StaticStructureFactorDirectResult
impl UnsafeUnpin for StaticStructureFactorDirectResult
impl UnwindSafe for StaticStructureFactorDirectResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more