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]\)

Set n and m as the parameters mie_lambda_r and mie_lambda_a, respectively, in “Site Properties” fst particle files, Configuration or Potential arguments.

Public Functions

void precompute(const ModelParams &existing)

Precompute model parameters based on existing model parameters.

void serialize(std::ostream &ostr) const

Output a serialized version of the existing model.