9#ifndef IMPEM2D_DUMMY_RESTRAINT_H
10#define IMPEM2D_DUMMY_RESTRAINT_H
12#include <IMP/em2d/em2d_config.h>
21IMPEM2D_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 nullptr-initialized pointer to an IMP Object.
Abstract base class for all restraints.
A container for Singletons.
Class for adding derivatives from restraints to the model.
Class to handle individual particles of a Model object.
Restraint(Model *m, std::string name)
Create a restraint and register it with the model.
A shared container for Singletons.
Dummy restraint between two particles.
virtual IMP::ModelObjectsTemp do_get_inputs() const override
DummyRestraint(IMP::Particle *p, IMP::Particle *q)
void show(std::ostream &out=std::cout) const
virtual double unprotected_evaluate(IMP::DerivativeAccumulator *accum) const override
Return the unweighted score for the restraint.
Dummy restraint for a set of particles. Same use as DummyRestraint.
ParticlesDummyRestraint(SingletonContainer *sc)
virtual double unprotected_evaluate(IMP::DerivativeAccumulator *accum) const override
Return the unweighted score for the restraint.
virtual IMP::ModelObjectsTemp do_get_inputs() const override
void show(std::ostream &out=std::cout) const
Logging and error reporting support.
IMP::Vector< IMP::Pointer< DummyRestraint > > DummyRestraints
IMP::Vector< IMP::Pointer< ParticlesDummyRestraint > > ParticlesDummyRestraints
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A smart pointer to a reference counted object.