SquareWell

class SquareWell : public feasst::ModelTwoBody

The square well model is defined as

\(U(r) = \left\{ \begin{array}{lr} \infty & r < \sigma \\ -\epsilon & \sigma \le r \le r_c \\ 0 & r > r_c \end{array} \right.\)

Public Functions

void serialize(std::ostream &ostr) const

Output a serialized version of the existing model.