Mie

class Mie : public feasst::ModelTwoBody

The Mie potential, \(U\) is described in http://www.sklogwiki.org/SklogWiki/index.php/Mie_potential.

\(U=\epsilon\left(\frac{n}{n-m}\right)\left(\frac{n}{m}\right)^{m/(n-m)}\left[\left(\frac{\sigma}{r}\right)^n-\left(\frac{\sigma}{r}\right)^m\right]\)

Public Functions

const double &n() const

Return the value of n.

const double &m() const

Return the value of m.

void serialize(std::ostream &ostr) const

Output a serialized version of the existing model.

Arguments

  • n: set the value of \(n\) (default: 12).

  • m: set the value of \(m\) (default: 6).