8 #ifndef IMPSCORE_FUNCTOR_HARMONIC_H
9 #define IMPSCORE_FUNCTOR_HARMONIC_H
11 #include <IMP/score_functor/score_functor_config.h>
14 IMPSCOREFUNCTOR_BEGIN_NAMESPACE
23 template <
unsigned int D>
25 double distance)
const {
26 return .5*k_*algebra::get_squared(distance);
28 template <
unsigned int D>
31 double distance)
const {
37 IMPSCOREFUNCTOR_END_NAMESPACE