pub struct VesinOptions {
pub cutoff: f64,
pub full: bool,
pub sorted: bool,
pub padded_to: usize,
pub algorithm: i32,
pub skin: f64,
pub n_threads: i32,
pub return_shifts: bool,
pub return_distances: bool,
pub return_vectors: bool,
/* private fields */
}Expand description
Options block, identical in layout to VesinOptions.
Fields§
§cutoff: f64Spherical cutoff.
full: boolBoth (i, j, S) and (j, i, -S) when true.
sorted: boolGroup rows by i when true.
padded_to: usizeFull-list width. Zero means no padding.
algorithm: i32VesinCellList (2) or VesinAutoAlgorithm (0). Brute force is CPU-unsupported upstream.
skin: f64Verlet skin. Negative selects 0.1 * cutoff on the CPU.
n_threads: i32Thread count. Zero uses the process default.
return_shifts: boolStore integer shifts.
return_distances: boolStore distances (not squared).
return_vectors: boolStore shifted vectors q + H S - p.
Implementations§
Trait Implementations§
Source§impl Clone for VesinOptions
impl Clone for VesinOptions
impl Copy for VesinOptions
Auto Trait Implementations§
impl Freeze for VesinOptions
impl RefUnwindSafe for VesinOptions
impl Send for VesinOptions
impl Sync for VesinOptions
impl Unpin for VesinOptions
impl UnsafeUnpin for VesinOptions
impl UnwindSafe for VesinOptions
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