Timestep is passed correctly
PLUMED must receive the timestep from an MD code in order to correctly print the times at which the CV took particular values in COLVAR files. To test that the timestep is passed correctly we run a short trajectory and output the time after each step using the following command:
t1TIMEretrieve the time of the simulation to be used elsewhere More details PRINTPrint quantities to a file. More details ARGthe labels of the values that you would like to print to the file=t1 FILEthe name of the file on which to output these quantities=colvar:
Trajectory
Input and output files for the test calculation are available inthis zip archive
Results
MD code output | PLUMED output | Tolerance | % Difference |
---|---|---|---|
0.005 | 0.005 | 0.0001 | 0.0 |
The table below includes some of the results from the calculation. The columns contain:
- The timestep that was obtained from the MD code, $x_{md}$.
- The timestep that was 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.