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: set the value of \(\alpha\). A comma-separated list provides an alpha for each potential.
s: set the value of \(s\) with a comma-separated list.
-
void serialize(std::ostream &ostr) const
Output a serialized version of the existing model.
-
TwoBodyAlpha(argtype args = argtype())