Navigation: Documentation / Collective Variables / CV:ODIS


Definition

The oriented distance between the plane A and the point B.

 

where nA is the plane normal vector. xdir and ydir are helper vectors defining the plane orientation and thus avoid flipping of colective variable sign due to ambitious orientation of the plane normal vector.

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

 

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


Specification

Section name: ODIS

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

Keys in bold are mandatory.