Module univariate

Module univariate 

Source
Expand description

Interactions as a function of one variable.

Structs§

Boxcar
Constant valued potential in a given range of r (not differentiable).
Expanded
Expand another potential.
Harmonic
Quadratic potential well centered at a given separation distance.
HarmonicRepulsion
Repulsive half of a quadratic potential well.
LennardJones
Potential with a steep repulsive core and an attractive well.
LennardJonesGauss
Double-well potential with a steep repulsive core
OverlapPenalty
Monotonically non-decreasing potential to push sites apart (not differentiable).
Shifted
Shift another potential to 0 at a given r.
WeeksChandlerAnderson
Potential with a steep repulsive core.
Xplor
Smoothly shift a potential (and its force) to 0 at some r_cut, beginning at r_smooth.

Traits§

UnivariateEnergy
Computes energy as a function of one variable.
UnivariateForce
Computes force as a function of one variable.