PerturbRemove

class PerturbRemove : public feasst::Perturb

Remove a particle from the system.

Public Functions

void perturb(System *system, TrialSelect *select, Random *random, const bool is_position_held = true)

Perturb the selection of the system.

Parameters
  • is_position_held: If position is held, all but perform the actual perturbation, as typically required for calculations of old configurations and Rosenbluth

void before_select()

Before perturbation, initialize some optimiation parameters.

void finalize(System *system)

Finalize the system for an accepted perturbation.

void revert(System *system)

Revert the system for an unaccepted perturbation.