Skip to content
Snippets Groups Projects
Commit ef5b603e authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Added notice on need for WHOLEMOLECULE

parent fd35f19f
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,11 @@ an atom list through the label for the COM action that creates it. ...@@ -39,6 +39,11 @@ an atom list through the label for the COM action that creates it.
For arbitrary weights (e.g. geometric center) see \ref CENTER. For arbitrary weights (e.g. geometric center) see \ref CENTER.
When running with periodic boundary conditions, the user should take care
that the atoms in the COM group actually are in the proper periodic image.
This is typically achieved using the \ref WHOLEMOLECULE action
before COM calculation.
\par Examples \par Examples
The following input instructs plumed to print the distance between the The following input instructs plumed to print the distance between the
......
...@@ -40,6 +40,11 @@ Notice that the generated virtual atom has charge equal to the sum of the ...@@ -40,6 +40,11 @@ Notice that the generated virtual atom has charge equal to the sum of the
charges and mass equal to the sum of the masses. If used with the MASS flag, charges and mass equal to the sum of the masses. If used with the MASS flag,
then it provides a result identical to \ref COM. then it provides a result identical to \ref COM.
When running with periodic boundary conditions, the user should take care
that the atoms in the COM group actually are in the proper periodic image.
This is typically achieved using the \ref WHOLEMOLECULE action
before COM calculation.
\par Examples \par Examples
\verbatim \verbatim
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment