33 return lam_(0) / pow(r, 12) -
lam_(1) / pow(r, 6) +
47 return 1.0 / pow(r, 12);
49 return -1.0 / pow(r, 6);
51 return exp(-1.0 *
lam_(3) * (r -
lam_(4)) * (r -
lam_(4)));
83 return -1.0 * (r -
lam_(4)) * (r -
lam_(4)) *
86 return 2.0 *
lam_(3) * (r -
lam_(4)) *
98 return -1.0 * (r -
lam_(4)) * (r -
lam_(4)) *
101 return lam_(2) * pow((r -
lam_(4)), 4) *
104 return 2.0 *
lam_(2) * (r -
lam_(4)) *
105 (1.0 -
lam_(3) * pow((r -
lam_(4)), 2)) *
117 return 2.0 *
lam_(3) * (r -
lam_(4)) *
120 return 2.0 *
lam_(2) * (r -
lam_(4)) *
121 (1.0 -
lam_(3) * pow((r -
lam_(4)), 2)) *
125 (2.0 *
lam_(3) * pow((r -
lam_(4)), 2) - 1.0) *
double CalculateF(double r) const override
PotentialFunctionLJG(const std::string &name, double min=0.0, double max=10.0)
double CalculateD2F(Index i, Index j, double r) const override
double CalculateDF(Index i, double r) const override
base class for all analysis tools