An exception is thrown if there are no refined particles. The weight FloatKey can be FloatKey and then all the weights will be equal.
Public Member Functions | |
void | apply (const ParticlesTemp &ps, DerivativeAccumulator &) const |
void | apply (const ParticlesTemp &ps) const |
void | apply (Particle *a, DerivativeAccumulator &) const |
void | apply (Particle *a) const |
CentroidOfRefined (Refiner *r, FloatKey weight=FloatKey(), FloatKeys ks=XYZ::get_xyz_keys()) | |
Set the keys ks to be the average of the refined particles. | |
ContainersTemp | get_input_containers (Particle *) const |
ParticlesTemp | get_input_particles (Particle *) const |
ParticlesList | get_interacting_particles (Particle *) const |
ContainersTemp | get_output_containers (Particle *) const |
ParticlesTemp | get_output_particles (Particle *) const |
virtual std::string | get_type_name () const |
virtual ::IMP::VersionInfo | get_version_info () const |
Friends | |
template<class T > | |
void | IMP::internal::unref (T *) |