Navigation: Documentation / Collective Variables / CV:PANG


Definition

The angle between two normal plane vectors.

 

The planes are defined as the best fit among atoms in each atom group. 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!}
Failed to parse (Conversion error. Server ("cli") reported: "[INVALID]"): {\displaystyle \psi(\bold n_B^') = \sum_{i=1}^{group_B}{m_i[\bold n_B^' .( \bold x_i - \bold B_{com})]^2} \rightarrow min!}

The orientation of the plane normal vectors 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,a} \times \bold y_{dir,a}) ) \bold n_A^'}
Failed to parse (Conversion error. Server ("cli") reported: "[INVALID]"): {\displaystyle \bold n_B = sign( \bold n_B^' . (\bold x_{dir,b} \times \bold y_{dir,b}) ) \bold n_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.