SelectBranch

class SelectBranch : public feasst::TrialSelectAngle

A random particle of given type is selected if previously perturbed sites are not available. Select two mobile sites bonded to anchor 1, that also forms a third angle with anchor 2.

Thus, the bonded topology appears as:
anchor2

anchor1 /

mobile1 mobile2

In the source code, these are often shortened as anchor1->a1, mobile2->m2, etc.

Public Functions

SelectBranch(const argtype &args = argtype())

args:

  • mobile_site2 : index of second mobile site.

void precompute(System *system)

Same as derived, but also add second mobile site.