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 anchor site. The angle is defined as: anchor2 - anchor1 - mobile, where anchor1 is the vertex.
In 2D, angle i-j-k is not the same as angle k-j-i. Thus, TrialSelectAngle sites in the order mobile-anchor-anchor2 must be in the same order as in FileParticle.
Subclassed by feasst::SelectBranch, feasst::TrialSelectDihedral
Arguments
anchor_site2 : index of second anchor site.
TrialSelectBond arguments.