PerturbAddAVB

class PerturbAddAVB : public feasst::Perturb

Add a particle within the AV of an existing particle.

Public Functions

PerturbAddAVB(argtype args = argtype())

args:

  • neighbor_index: NeighborCriteria index contained in System (default: 0).

  • delay_add: If true, don’t add particle until finalize (default: true).

bool delay_add() const

Return if the particle isn’t added until finalized.

void perturb(System *system, TrialSelect *select, Random *random, const bool is_position_held = false, Acceptance *acceptance = NULL)

Perturb the selection of the system.

void revert(System *system)

Revert the system for an unaccepted perturbation.

void finalize(System *system)

Finalize the system for an accepted perturbation.

std::string status_header() const

Print status header.

std::string status() const

Print status.