8 #ifndef IMPEXAMPLE_EXAMPLE_PAIR_SCORE_H
9 #define IMPEXAMPLE_EXAMPLE_PAIR_SCORE_H
11 #include <IMP/example/example_config.h>
18 IMPEXAMPLE_BEGIN_NAMESPACE
42 IMPEXAMPLE_END_NAMESPACE
Class for adding derivatives from restraints to the model.
Import IMP/kernel/pair_macros.h in the namespace.
A nullptr-initialized pointer to an IMP Object.
Import IMP/kernel/UnaryFunction.h in the namespace.
#define IMP_PAIR_SCORE_METHODS(Name)
virtual double evaluate_index(kernel::Model *m, const kernel::ParticleIndexPair &vt, DerivativeAccumulator *da) const
Compute the score and the derivative if needed.
A class to store an fixed array of same-typed values.
virtual ModelObjectsTemp do_get_inputs(kernel::Model *m, const ParticleIndexes &pis) const
Import IMP/kernel/PairScore.h in the namespace.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Apply a harmonic to the distance between two particles.
Class for storing model, its restraints, constraints, and particles.