11 template<
typename TMethod>
15 template<
typename TMethod>
19 template<
typename TMethod>
25 template<
typename TMethod>
28 const TMethod& tMethod=
static_cast<const TMethod&
>(*this);
32 template<
typename TMethod>
35 const TMethod& tMethod=
static_cast<const TMethod&
>(*this);
36 return tMethod.bondFunction(vec1, vec2);
39 template<
typename TMethod>
42 return averagingDomainSize;
44 template<
typename TMethod>
double getAveragingDomainSize() const
double bondFunction(const Vector3d &vec1, const Vector3d &vec2) const
double operator()(const Vector3d &vec) const
Eigen::Matrix< double, 1, DIM, Eigen::RowMajor > Vector3d