RecenterParticles

class RecenterParticles : public feasst::ModifyUpdateOnly

Periodically set particle positions to their geometric centers.

Public Functions

RecenterParticles(const argtype &args = argtype())

args:

  • group_index: index of group to recenter (default: 0).

void update(Criteria *criteria, System *system, TrialFactory *trial_factory)

Perform update action.