PerturbTranslate

class PerturbTranslate : public feasst::PerturbMove

Translate the positions of the selection.

Public Functions

void precompute(TrialSelect *select, System *system)

Initialize minimum and maximum tunable parameter based on domain.

void update_selection(const Position &trajectory, TrialSelect *select)

Change the position in the selection given a trajectory.

void move(const Position &trajectory, System *system, TrialSelect *select)

Move the selected particles given a trajectory.

void move(System *system, TrialSelect *select, Random *random)

Move the selected particles using the tuning parameter.