9 #ifndef IMPEM2D_DUMMY_RESTRAINT_H
10 #define IMPEM2D_DUMMY_RESTRAINT_H
12 #include <IMP/em2d/em2d_config.h>
21 IMPEM2D_BEGIN_NAMESPACE
44 :
Restraint(p->get_model(),
"DummyRestraint%1%") {
53 void show(std::ostream &out = std::cout)
const {
54 out <<
"Dummy Restraint" << std::endl;
74 : Restraint(sc->get_model(),
"ParticlesDummyRestraint%1%") {
82 void show(std::ostream &out = std::cout)
const {
83 out <<
"ParticlesDummyRestraint" << std::endl;
A container for Singletons.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
DummyRestraint(IMP::Particle *p, IMP::Particle *q)
Dummy restraint for a set of particles. Same use as DummyRestraint.
A more IMP-like version of the std::vector.
A smart pointer to a reference counted object.
void show(std::ostream &out=std::cout) const
A shared container for Singletons.
Dummy restraint between two particles.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
void show(std::ostream &out=std::cout) const
A nullptr-initialized pointer to an IMP Object.
ParticlesDummyRestraint(SingletonContainer *sc)
Class to handle individual particles of a Model object.
Abstract base class for all restraints.
Logging and error reporting support.
virtual ModelObjectsTemp do_get_inputs() const =0
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
Class for adding derivatives from restraints to the model.
A restraint is a term in an IMP ScoringFunction.