60 explicit MethodSphere(
double,
const std::string& type=
"virial");
104 std::map<std::pair<double,double>,
Polynomial> piecewisePolynomial;
106 double integratePolynomial(
const int&,
const double&,
const double&,
const double&,
const double&)
const;
107 double integrate(
const double&,
const double&,
const double&,
const double&)
const;
Implements radially symmetric weighting functions (Hardy, Virial) and its associated bond function fo...
double operator()(const Vector3d &vec) const
Evaluate the weighting function at a vector.
double bondFunction(const Vector3d &vec1, const Vector3d &vec2) const
Computes the bond function for a pair of atomic positions.
Eigen::Matrix< double, 1, DIM, Eigen::RowMajor > Vector3d