CV:ODIS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
where '''n'''<sub>A</sub> is the plane normal vector. '''x'''<sub>dir</sub> and '''y'''<sub>dir</sub> are helper vectors defining the plane orientation and thus avoid flipping of colective variable sign due to ambitious orientation of the plane normal vector. | where '''n'''<sub>A</sub> is the plane normal vector. '''x'''<sub>dir</sub> and '''y'''<sub>dir</sub> 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. | The plane is defined as the best fit among atoms in the atom group '''A'''. The fit is mass-weighted. | ||
<center><math>\psi(\bold n_A) = \sum_{i=1}^{group_A}{m_i[\bold n_A .( \bold x_i - \bold A_{com})]^2} \rightarrow min!</math></center> | <center><math>\psi(\bold n_A) = \sum_{i=1}^{group_A}{m_i[\bold n_A .( \bold x_i - \bold A_{com})]^2} \rightarrow min!</math></center> | ||
Latest revision as of 13:44, 21 June 2021
Navigation: Documentation / Collective Variables / CV:ODIS
Distance
Angle
Coordination
Shape
Special
Energy
Algebra
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.