8#ifndef IMPCORE_DERIVATIVES_TO_REFINED_H
9#define IMPCORE_DERIVATIVES_TO_REFINED_H
11#include <IMP/core/core_config.h>
18#include <cereal/access.hpp>
19#include <cereal/types/base_class.hpp>
21IMPCORE_BEGIN_NAMESPACE
35 friend class cereal::access;
36 template<
class Archive>
void serialize(Archive &ar) {
37 ar(cereal::base_class<SingletonModifier>(
this), refiner_, ks_);
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 void apply_index(Model *m, ParticleIndex a) const override
DerivativesToRefined(Refiner *r, FloatKeys ks=XYZ::get_xyz_keys())
Copy ks to the particles returned by r.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const override
Overload this method to specify the inputs.
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.
IMP::Vector< FloatKey > FloatKeys
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
#define IMP_OBJECT_SERIALIZE_DECL(Name)
Declare methods needed for serialization of Object pointers.
#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.