TrialSelectAngle

class TrialSelectAngle : public feasst::TrialSelectBond

A random particle of given type is selected if previously perturbed sites are not available. Select a single angle from two given anchor sites and one mobile site. The mobile site is directly bonded to the first anchor site, and the second anchor site is bonded to the first mobile site. The angle is defined as: anchor2 - anchor1 - mobile, where anchor1 is the vertex.

Subclassed by feasst::SelectBranch

Public Functions

TrialSelectAngle(const argtype &args = argtype())

args:

  • anchor_site2 : index of second anchor site.

void precompute(System *system)

Same as TrialSelectBond, but also add the second anchor site, and add angle_type as a property.