This is part of the vatom module |
Calculate the absolute position of a ghost atom with fixed coordinates in the local reference frame formed by three atoms.
The computed ghost atom is stored as a virtual atom that can be accessed in an atom list through the the label for the GHOST action that creates it.
The following input instructs plumed to print the distance between the ghost atom and the center of mass for atoms 15,20:
c1: GHOSTATOMS=1,5,10the list of atoms which are involved the virtual atom's definition.COORDINATES=10.0,10.0,10.0 c2: COMcoordinates of the ghost atom in the local reference frame.ATOMS=15,20 d1: DISTANCEthe list of atoms which are involved the virtual atom's definition.ATOMS=c1,c2 PRINTthe pair of atom that we are calculating the distance between.ARG=d1the input for this action is the scalar output from one or more other actions.
ATOMS | the list of atoms which are involved the virtual atom's definition. For more information on how to specify lists of atoms see Groups and Virtual Atoms |
COORDINATES | coordinates of the ghost atom in the local reference frame. For more information on how to specify lists of atoms see Groups and Virtual Atoms |