DebyeHuckel
-
class DebyeHuckel : public feasst::ModelTwoBody
Compute energy between two point charges,
and with a Debye-Huckel potential.where
is the separation distance, is the inverse of the Debye screening length, is the dilectric constant (dimensionless), and is the charge conversion factor assuming the following units:length: Angstroms
energy: kJ/mol
charge: elementary
An optional smoothing_distance linearly interpolates the energy to zero at the cutoff starting at a distance of cutoff - smoothing_distance.
Avoid singularity by returning a large, positive number when
is near zero.Public Functions
-
void precompute(const ModelParams &existing)
Precompute model parameters based on existing model parameters.
-
void serialize(std::ostream &ostr) const
Output a serialized version of the existing model.
Arguments
kappa: as described above.
dielectric: as described above.
smoothing_distance: as described above. Disabled when negative (default: -1).