CV:PVANG
Navigation: Documentation / Collective Variables / CV:PVANG
Distance
Angle
Coordination
Shape
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.
The plane is defined as the best fit among atoms in the atom group A. The fit is mass weighted.
The orientation of the plane normal vector is controled by two helper vectors xdir and ydir:
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.