IMP Reference Guide
develop.d97d4ead1f,2024/11/22
The Integrative Modeling Platform
|
#include <IMP/score_functor/Harmonic.h>
A harmonic score on the directed distance between a pair of particles, centered at 0.
Definition at line 22 of file score_functor/Harmonic.h.
Public Member Functions | |
Harmonic (double k) | |
double | get_k () |
template<unsigned int D> | |
double | get_score (Model *, const Array< D, ParticleIndex > &, double distance) const |
template<unsigned int D> | |
DerivativePair | get_score_and_derivative (Model *m, const Array< D, ParticleIndex > &p, double distance) const |
void | set_k (double k) |
Public Member Functions inherited from IMP::score_functor::Score | |
ModelObjectsTemp | get_inputs (Model *m, const ParticleIndexes &pis) const |
template<unsigned int D> | |
bool | get_is_trivially_zero (Model *m, const Array< D, ParticleIndex > &p, double squared_distance) const |
template<unsigned int D> | |
double | get_maximum_range (Model *m, const Array< D, ParticleIndex > &p) const |
template<unsigned int D> | |
double | get_score (Model *m, const Array< D, ParticleIndex > &p, double distance) const |
Return the score at the passed feature size (eg distance). More... | |
template<unsigned int D> | |
DerivativePair | get_score_and_derivative (Model *m, const Array< D, ParticleIndex > &p, double distance) const |
Return the score and derivative at the passed feature size (eg distance). More... | |
void | show (std::ostream &) const |