pub struct UserOptions {
pub fmax: f64,
pub distance: f64,
pub trial_rot_angle: f64,
pub use_fixed_rot_angle: bool,
pub min_rot_angle: f64,
pub max_num_rot: usize,
pub use_extrapolated_force: bool,
pub use_cg_rot: bool,
}Expand description
Options for tuning DIMER algorithm from user side
Fields§
§fmax: f64force component criteria for convergence test
distance: f64dimer distance between image 0 and image 1
trial_rot_angle: f64Trial angle for the finite difference estimate of the rotational angle in radians.
use_fixed_rot_angle: boolUse a fixed angle for trial rotation step.
min_rot_angle: f64The minimum rotational angle for skipping trial rotation step.
max_num_rot: usizeMaximum number of rotation steps allowed in iteratons.
use_extrapolated_force: boolUse extrapolated force on the new dimer endpoint R1 to reduce one evulation per dimer rotation. Kastner2008JCP
use_cg_rot: boolUse Conjugate gradient algorithm to determine the rotation plane, instead of simple steepest descent direction.
Trait Implementations§
Source§impl Clone for UserOptions
impl Clone for UserOptions
Source§fn clone(&self) -> UserOptions
fn clone(&self) -> UserOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserOptions
impl Debug for UserOptions
Source§impl Default for UserOptions
impl Default for UserOptions
Source§impl<'de> Deserialize<'de> for UserOptionswhere
UserOptions: Default,
impl<'de> Deserialize<'de> for UserOptionswhere
UserOptions: Default,
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UserOptions
impl RefUnwindSafe for UserOptions
impl Send for UserOptions
impl Sync for UserOptions
impl Unpin for UserOptions
impl UnwindSafe for UserOptions
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> Configure for T
impl<T> Configure for T
Source§fn print_toml(&self)
fn print_toml(&self)
👎Deprecated: plan to be removed
Print current configuration in toml format.
Source§fn from_json(s: &str) -> Result<Self, Error>
fn from_json(s: &str) -> Result<Self, Error>
Deserialize an instance of type T from a string of JSON text.
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.