|
IMP Reference Guide
develop.7482b7c7af, 2026/12/05
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 () const |
| 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). | |
| 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). | |
| void | show (std::ostream &) const |
| IMP::score_functor::Harmonic::Harmonic | ( | double | k | ) |
Definition at line 30 of file score_functor/Harmonic.h.
| IMP::score_functor::Harmonic::Harmonic | ( | ) |
Definition at line 31 of file score_functor/Harmonic.h.
| double IMP::score_functor::Harmonic::get_k | ( | ) | const |
Definition at line 44 of file score_functor/Harmonic.h.
| double IMP::score_functor::Harmonic::get_score | ( | Model * | , |
| const Array< D, ParticleIndex > & | , | ||
| double | distance ) const |
Definition at line 33 of file score_functor/Harmonic.h.
| DerivativePair IMP::score_functor::Harmonic::get_score_and_derivative | ( | Model * | m, |
| const Array< D, ParticleIndex > & | p, | ||
| double | distance ) const |
Definition at line 39 of file score_functor/Harmonic.h.
| void IMP::score_functor::Harmonic::set_k | ( | double | k | ) |
Definition at line 45 of file score_functor/Harmonic.h.