Navigation: Documentation / Collective Variables / CV:DIH2


Definition

The dihedral angle among three vectors. Each vector is determined by two points, which are calculated as the center of mass of groups of atoms.

ΞΎ=sign((𝐧1×𝐧2).(𝐂comβˆ’πƒcom))*arccos(𝐧1.𝐧2|𝐧1|.|𝐧2|)

where normal vectors are defined as

𝐧1=(𝐀comβˆ’πcom)Γ—(𝐂comβˆ’πƒcom)
𝐧2=(𝐄comβˆ’π…com)Γ—(𝐂comβˆ’πƒcom)

PBC note: The minimum-image convention is apllied to vectors |AB|, |CD|, and |EF| only if the fenable_pbc option is activated. The convention is not used to calculate the center of mass. It is therefore required that atoms within a group are either covalently bound or are part of complex that will not be separated or reimaged during a simulation.


Specification

Section name: DIH

Key Type Default Description




name string unique CV name
group_a mask atoms specifying the point A
group_b mask atoms specifying the point B
group_c mask atoms specifying the point C
group_d mask atoms specifying the point D
group_e mask atoms specifying the point E
group_f mask atoms specifying the point F

Keys in bold are mandatory.