8 #ifndef IMPCORE_FIXED_REFINER_H
9 #define IMPCORE_FIXED_REFINER_H
11 #include <IMP/core/core_config.h>
17 IMPCORE_BEGIN_NAMESPACE
60 "mismatching models for refined and coarse particles");
69 "mismatching models for refined and coarse particles");
The refiner can refine any particle by returning a fixed set.
virtual const ParticlesTemp get_refined(Particle *a) const =0
Refine the passed particle into a set of particles.
Import IMP/kernel/SingletonContainer.h in the namespace.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
virtual bool get_can_refine(kernel::Particle *) const
Return true if this refiner can refine that particle.
Import IMP/kernel/PairContainer.h in the namespace.
Import IMP/kernel/Refiner.h in the namespace.
#define IMP_UNUSED(variable)
virtual ModelObjectsTemp do_get_inputs(kernel::Model *m, const ParticleIndexes &pis) const
Class to handle individual model particles.
virtual ParticleIndexes get_refined_indexes(Model *m, ParticleIndex pi) const
Return the indexes of the particles returned by get_refined()
#define IMP_USAGE_CHECK(expr, message)
A runtime test for incorrect usage of a class or method.
Abstract class to implement hierarchical methods.
virtual ParticleIndexes const & get_refined_indexes_by_ref(Model *m, ParticleIndex pi) const
Return the indexes of the particles returned by get_refined()
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
Class for storing model, its restraints, constraints, and particles.