SelectParticleAVBDivalent

class SelectParticleAVBDivalent : public feasst::TrialSelect

Using the first particle in perturbed, select another particle that has a site inside the aggregation volume (AV) of the target site.

Public Functions

void precompute(System *system)

Precompute quantities before simulation for optimization.

bool select(const Select &perturbed, System *system, Random *random, TrialSelect *previous_select)

Perform the selection as implemented in the derived class. Return false if the selection cannot be made. Otherwise, return true.

param perturbed:

Perturbed is included to allow chaining of selection based on previous.

Arguments

SelectParticleAVBDivalent(argtype args = argtype())

args:

  • target_site_name: name of target site (default: 0).

  • site_name: name of site on particle_type to put in AV of target site (default: 0).

  • ghost: true if selecting a ghost (for adding).

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

  • TrialSelect arguments.