[−]Struct lumol::EnergyEvaluator
An helper struct to evaluate energy components of a system.
Implementations
impl<'a> EnergyEvaluator<'a>
pub fn new(system: &'a System) -> EnergyEvaluator<'a>
Create a new EnergyEvaluator
acting on the given system
.
impl<'a> EnergyEvaluator<'a>
pub fn pair(&self, path: BondPath, r: f64, i: usize, j: usize) -> f64
Compute the energy associated with the pair of particles i, j
at
distance r
pub fn pairs(&self) -> f64
Compute the energy of all the pairs in the system
pub fn pairs_tail(&self) -> f64
Compute the energy due to long range corrections for the pairs
pub fn bond(&self, r: f64, i: usize, j: usize) -> f64
Compute the energy associated with the bonded particles i, j
at
distance r
pub fn bonds(&self) -> f64
Compute the energy of all the bonds in the system
pub fn angle(&self, theta: f64, i: usize, j: usize, k: usize) -> f64
Compute the energy associated with the angle i, j, k
at angle theta
pub fn angles(&self) -> f64
Compute the energy of all the angles in the system
pub fn dihedral(&self, phi: f64, i: usize, j: usize, k: usize, m: usize) -> f64
Compute the energy associated with the dihedral angle i, j, k, m
at
angle phi
pub fn dihedrals(&self) -> f64
Compute the energy of all the dihedral angles in the system
pub fn coulomb(&self) -> f64
Compute the energy of the electrostatic interactions
pub fn global(&self) -> f64
Compute the energy of the global potentials
Auto Trait Implementations
impl<'a> !RefUnwindSafe for EnergyEvaluator<'a>
impl<'a> Send for EnergyEvaluator<'a>
impl<'a> Sync for EnergyEvaluator<'a>
impl<'a> Unpin for EnergyEvaluator<'a>
impl<'a> !UnwindSafe for EnergyEvaluator<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,