8 #ifndef IMPATOM_DIHEDRAL_SINGLETON_SCORE_H
9 #define IMPATOM_DIHEDRAL_SINGLETON_SCORE_H
11 #include <IMP/atom/atom_config.h>
15 IMPATOM_BEGIN_NAMESPACE
Class for adding derivatives from restraints to the model.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Import IMP/kernel/singleton_macros.h in the namespace.
virtual double evaluate_index(kernel::Model *m, kernel::ParticleIndex vt, DerivativeAccumulator *da) const
Compute the score and the derivative if needed.
virtual ModelObjectsTemp do_get_inputs(kernel::Model *m, const ParticleIndexes &pis) const
Import IMP/kernel/SingletonScore.h in the namespace.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Abstract class for scoring object(s) of type Particle.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
#define IMP_SINGLETON_SCORE_METHODS(Name)
Class for storing model, its restraints, constraints, and particles.
Score the dihedral angle.