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