CV:PANG

Revision as of 13:29, 9 June 2015 by Tbouchal (talk | contribs) (Created page with "__NOEDITSECTION__ Navigation: Documentation / Collective Variables / CV:PANG ---- {{CVS}} ===Definition=== The angle between two normal plane vectors. <center><ma...")
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)

Navigation: Documentation / Collective Variables / CV:PANG


Definition

The angle between two normal plane vectors.

ξ=arccos(𝐧A.𝐧B)

The planes are defined as the best fit among atoms in each atom group. The fit is mass weighted.

ψ(𝐧A')=βˆ‘i=1groupAmi[𝐧A'.(𝐱iβˆ’π€com)]2β†’min!
ψ(𝐧B')=βˆ‘i=1groupBmi[𝐧B'.(𝐱iβˆ’πcom)]2β†’min!

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

𝐧A=sign(𝐧A'.(𝐱dir,a×𝐲dir,a))𝐧A'
𝐧B=sign(𝐧B'.(𝐱dir,b×𝐲dir,b))𝐧B'

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


Specification

Section name: PANG

Key Type Default Description




name string unique CV name
group_a mask atoms specifying the plane A
x_direction_a 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_a 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 plane B
x_direction_b mask single atom specifying the end of approximate x-direction vector. The vector origin is in Bcom. The atom must be member of the group B.
y_direction_b mask single atom specifying the end of approximate y-direction vector. The vector origin is in Bcom. The atom must be member of the group B.

Keys in bold are mandatory.