10#ifndef IMPCORE_WEIGHTED_DERIVATIVES_TO_REFINED_H
11#define IMPCORE_WEIGHTED_DERIVATIVES_TO_REFINED_H
13#include <IMP/core/core_config.h>
21IMPCORE_BEGIN_NAMESPACE
A nullptr-initialized pointer to an IMP Object.
Refine a particle into a list of particles.
A Modifier on ParticlesTemp.
Class for storing model, its restraints, constraints, and particles.
Abstract class to implement hierarchical methods.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const override
Overload this method to specify the inputs.
virtual void apply_index(Model *m, ParticleIndex pi) const override
Copies weighted derivatives to fine particles.
WeightedDerivativesToRefined(Refiner *r, FloatKey w=FloatKey(), FloatKeys keys=XYZ::get_xyz_keys())
virtual ModelObjectsTemp do_get_outputs(Model *m, const ParticleIndexes &pis) const override
Overload this method to specify the outputs.
static const FloatKeys & get_xyz_keys()
Get a vector containing the keys for x,y,z.
Index< ParticleIndexTag > ParticleIndex
Vector< ParticleIndex, std::allocator< ParticleIndex > > ParticleIndexes
A list of particles, each identified by its ParticleIndex.
Key< 0 > FloatKey
The type used to identify float attributes in the Particles.
IMP::Vector< FloatKey > FloatKeys
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Macros for various classes.
#define IMP_SINGLETON_MODIFIER_METHODS(Name)
A smart pointer to a ref-counted Object that is a class member.