9 #ifndef IMPISD_REPULSIVE_DISTANCE_PAIR_SCORE_H
10 #define IMPISD_REPULSIVE_DISTANCE_PAIR_SCORE_H
12 #include <IMP/isd/isd_config.h>
18 IMPISD_BEGIN_NAMESPACE
32 double get_rest_length()
const {
return x0_; }
33 double get_stiffness()
const {
return k_; }
Abstract class for scoring object(s) of type ParticleIndexPair.
#define IMP_PAIR_SCORE_METHODS(Name)
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A more IMP-like version of the std::vector.
Class for storing model, its restraints, constraints, and particles.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the inputs.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
A nullptr-initialized pointer to an IMP Object.
Decorator for a sphere-like particle.
virtual double evaluate_index(Model *m, const ParticleIndexPair &vt, DerivativeAccumulator *da) const =0
Compute the score and the derivative if needed.
Class for adding derivatives from restraints to the model.
A repulsive potential on the distance between two atoms.
Compile-time generic restraint and constraint support.