TwoBodyAlpha
-
class TwoBodyAlpha : public feasst::ModelTwoBody
The two-body alpha model is defined as
\(U = s\epsilon \left(\frac{\sigma}{r}\right)^\alpha\)
where \(s\) is the prefactor and \(\alpha\) is the power, both of which are given as class-specific parameters. Note that \(s\) is required for negative values because \(\epsilon\) cannot be negative due to the standard mixing rules.
Public Functions
-
TwoBodyAlpha(argtype args = argtype())
args:
alpha[i]: set the value of \(\alpha\) for each potential. The “[i]” is to be substituted for an integer 0, 1, 2, …
s[i]: set the value of \(s\). The “[i]” is to be substituted for an integer 0, 1, 2, …
-
void serialize(std::ostream &ostr) const
Output a serialized version of the existing model.
-
TwoBodyAlpha(argtype args = argtype())