CV:PVANG

Revision as of 14:31, 9 June 2015 by Tbouchal (talk | contribs) (Created page with "__NOEDITSECTION__ Navigation: Documentation / Collective Variables / CV:PVANG ---- {{CVS}} ===Definition=== The angle between the normal vector of the plane '''A''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Navigation: Documentation / Collective Variables / CV:PVANG


Definition

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

 

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

Failed to parse (Conversion error. Server ("cli") reported: "[INVALID]"): {\displaystyle \psi(\bold n_A^') = \sum_{i=1}^{group_A}{m_i[\bold n_A^' .( \bold x_i - \bold A_{com})]^2} \rightarrow min!}

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

Failed to parse (Conversion error. Server ("cli") reported: "[INVALID]"): {\displaystyle \bold n_A = sign( \bold n_A^' . (\bold x_{dir} \times \bold y_{dir}) ) \bold n_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.