pub struct OrderMap { /* private fields */ }Expand description
Parameters for constructing ordermaps.
Implementations§
Source§impl OrderMap
impl OrderMap
Sourcepub fn output_directory(&self) -> &Option<String>
pub fn output_directory(&self) -> &Option<String>
Directory where the output files containing the individual ordermaps will be saved.
Source§impl OrderMap
impl OrderMap
Sourcepub fn min_samples(&self) -> usize
pub fn min_samples(&self) -> usize
Minimum number of samples required in a grid tile to calculate the order parameter. The default value is 1.
Sourcepub fn dim(&self) -> [GridSpan; 2]
pub fn dim(&self) -> [GridSpan; 2]
Span of the grid along the axes. The first span corresponds to the x-axis (if the map is in the xy or xz plane) or the z-axis (if the map is in the yz plane). The second span corresponds to the y-axis (if the map is in the xy or yz plane) or the z-axis (if the map is in the xz plane). If not specified, the span is derived from the simulation box size of the input structure.
Sourcepub fn bin_size(&self) -> [f32; 2]
pub fn bin_size(&self) -> [f32; 2]
Size of the grid bin along the axes. The first bin dimension corresponds to the x-axis (if the map is in the xy or xz plane) or the z-axis (if the map is in the yz plane). The second bin dimension corresponds to the y-axis (if the map is in the xy or yz plane) or the z-axis (if the map is in the xz plane). The default value is 0.1 x 0.1 nm if not specified.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrderMap
impl<'de> Deserialize<'de> for OrderMap
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>,
Auto Trait Implementations§
impl Freeze for OrderMap
impl RefUnwindSafe for OrderMap
impl Send for OrderMap
impl Sync for OrderMap
impl Unpin for OrderMap
impl UnwindSafe for OrderMap
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
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>
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>
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 moreSource§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.