pub struct MdConfig {
pub integrator: Integrator,
pub zero_com_drift: bool,
pub temp_target: f32,
pub pressure_target: f32,
pub hydrogen_constraint: HydrogenConstraint,
pub snapshot_handlers: Vec<SnapshotHandler>,
pub sim_box: SimBoxInit,
pub max_init_relaxation_iters: Option<usize>,
pub neighbor_skin: f32,
pub overrides: MdOverrides,
}Fields§
§integrator: IntegratorDefaults to Velocity Verlet.
zero_com_drift: boolIf enabled, zero the drift in center of mass of the system. todo: Implement
temp_target: f32Kelvin. Defaults to 310 K.
pressure_target: f32Bar (Pa/100). Defaults to 1 bar.
hydrogen_constraint: HydrogenConstraintAllows constraining Hydrogens to be rigid with their bonded atom, using SHAKE and RATTLE algorithms. This allows for higher time steps.
snapshot_handlers: Vec<SnapshotHandler>§sim_box: SimBoxInit§max_init_relaxation_iters: Option<usize>Prior to the first integrator step, we attempt to relax energy in the system. Use no more than this many iterations to do so. Higher can produce better results, but is slower. If None, don’t relax.
neighbor_skin: f32Distance threshold, in Å, used to determine when we rebuild neighbor lists. 2-4Å are common values. Higher values rebuild less often, and have more computationally-intense rebuilds. Rebuild the list if an atom moved > skin/2.
overrides: MdOverridesTrait Implementations§
impl StructuralPartialEq for MdConfig
Auto Trait Implementations§
impl Freeze for MdConfig
impl RefUnwindSafe for MdConfig
impl Send for MdConfig
impl Sync for MdConfig
impl Unpin for MdConfig
impl UnwindSafe for MdConfig
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 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.