Energy is passed correctly
It is common practise to use the potential energy as a collective energy. Some MD codes thus pass the potential energy to PLUMED. To check that this quantity has been passed correctly we can output the passed energy from PLUMED using the following input.
e:ENERGYCalculate the total potential energy of the simulation box. More detailsPrint quantities to a file. More detailsARG=ethe input for this action is the scalar output from one or more other actionsFILE=colvarthe name of the file on which to output these quantities
We can then also output the energy from the MD code and check this matches the value output by PLUMED. We run a short trajectory to test that the energy is passed correctly.
Trajectory
Input and output files for the test calculation are available in this zip archive
Results
Calculations were not sucessful and no data was generated for comparison
The table below includes some of the results from the calculation. The columns contain:
- The energies that were obtained from the MD code, $x_{md}$.
- The energies that were obtained from PLUMED, $x_{pl}$.
- The tolerances that were used when comparing these quantities, $\delta$.
- The values of $100\frac{\vert x_{md} - x_{pl}\vert }{ \delta }$.
If the PLUMED interface is working correctly the first two sets of numbers should be identical and the final column should be filled with zeros.