/** * \file DerivativesToRefined.h * \brief Accumulate the derivatives of the refined particles * * Copyright 2007-2010 IMP Inventors. All rights reserved. */ #ifndef IMPCORE_DERIVATIVES_TO_REFINED_H #define IMPCORE_DERIVATIVES_TO_REFINED_H #include "core_config.h" #include "XYZ.h" #include #include #include IMPCORE_BEGIN_NAMESPACE //! Copy the derivatives from the particle to its refined particles. /** \see DerivatvesFromRefinedSingletonModifier \see CoverRefined \see CentroidOfRefinedSingletonModifer An example showing a how to use such a score state to maintain a cover of the atoms of a protein by a sphere per residue. \htmlinclude cover_particles.py.html */ class IMPCOREEXPORT DerivativesToRefined: public SingletonModifier { IMP::internal::OwnerPointer refiner_; FloatKeys ks_; public: //! Copy ks to the particles returned by r. DerivativesToRefined(Refiner *r, FloatKeys ks = XYZ::get_xyz_keys()); IMP_SINGLETON_MODIFIER_DA(DerivativesToRefined); }; IMPCORE_END_NAMESPACE #endif /* IMPCORE_DERIVATIVES_TO_REFINED_H */