CV:PTPATHS2PN
Navigation: Documentation / Collective Variables / CV:PTPATHS2PN
Distance
Angle
Coordination
Shape
Special / Path
Energy
Algebra
Definition
The signed path coordinate of the center of mass of the anchor group along a linear path defined by a reference point and a direction. The reference point and the direction point are represented by the centers of mass of two atom groups.
Let be the anchor center of mass, the center of mass of the reference group, and the center of mass of the direction group. The unit direction vector is:
Virtual reference points are generated in the positive and negative directions from the reference point:
where is the spacing between neighbouring virtual reference points, is specified by nrefsp, and is specified by nrefsn. The collective variable is defined as:
where is the smoothing parameter. In contrast to CV:PTPATHS and CV:PTPATHS2P, this CV has the dimension of length and its value is a signed distance-like coordinate along the path.
PBC note: The minimum-image convention is applied to the distance vector between the anchor center of mass and each virtual reference point only if the fenable_pbc option is activated. The convention is not used to calculate the centers of mass. It is therefore required that atoms within each group are either covalently bound or are part of a complex that will not be separated or reimaged during a simulation.
Specification
Section name: PTPATHS2PN
| Key | Type | Default | Description |
| name | string | unique CV name | |
| anchor | mask | atoms specifying the anchor point | |
| refpoint | mask | atoms specifying the reference point , which defines the origin of the signed path coordinate | |
| direction | mask | atoms specifying the point ; the vector from refpoint to direction defines the path direction | |
| nrefsp | integer | number of virtual reference points in the positive direction ; it must be greater than or equal to 0 | |
| nrefsn | integer | number of virtual reference points in the negative direction ; it must be greater than or equal to 0 | |
| alpha | real | spacing between neighbouring virtual reference points; it has the dimension of length | |
| beta | real | alpha | smoothing parameter with the dimension of length |
Keys in bold are mandatory.
Additional constraint: The sum nrefsp + nrefsn must be greater than 2.