[]Struct lumol::EnergyEvaluator

pub struct EnergyEvaluator<'a> { /* fields omitted */ }

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,