Navigation: Documentation / Collective Variables / CV:DIH


Definition

The dihedral angle among four points. Each point is calculated as the center of mass of groups of atoms.

ΞΎ=sign(𝐧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|, |CB|, and |CD| 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

Keys in bold are mandatory.