Yukawa

class Yukawa : public feasst::ModelTwoBody

The screened Coulomb (Yukawa) potential is given by \( U = \epsilon \exp(-\kappa (r/\sigma - 1)) / (r/\sigma) \) Note that \(\kappa\) is dimensionless in this definition.

Public Functions

void set_kappa(const double kappa = 1)

Set the value of the kappa parameter.

void serialize(std::ostream &ostr) const

Output a serialized version of the existing model.

Arguments

  • kappa: set the value of the kappa parameter (default: 1).