CV:PVANG

From PMFLib Wiki
Jump to navigation Jump to search

Navigation: Documentation / Collective Variables / CV:PVANG


Distance

Angle

Coordination

Shape

Nucleic Acids

Puckering

Special

Energy

Algebra

Definition

The angle between the normal vector of the plane A and the vector pointing from the point B to the point C.

ξ=arccos(𝐧A.(𝐂com𝐁com)|𝐂com𝐁com|)

The plane is defined as the best fit among atoms in the atom group A. The fit is mass weighted.

ψ(𝐧A')=i=1groupAmi[𝐧A'.(𝐱i𝐀com)]2min!

The orientation of the plane normal vector is controled by two helper vectors xdir and ydir:

𝐧A=sign(𝐧A'.(𝐱dir×𝐲dir))𝐧A'

PBC note: The minimum-image convention is not used.


Specification

Section name: PVANG

Key Type Default Description




name string unique CV name
group_a mask atoms specifying the plane A
x_direction mask single atom specifying the end of approximate x-direction vector. The vector origin is in Acom. The atom must be member of the group A.
y_direction mask single atom specifying the end of approximate y-direction vector. The vector origin is in Acom. The atom must be member of the group A.
group_b mask atoms specifying the point B, which is the origin of the vector
group_c mask atoms specifying the point C, which is the end of the vector

Keys in bold are mandatory.