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:
t1:TIMEretrieve the time of the simulation to be used elsewhere More detailsPrint quantities to a file. More detailsARG=t1the 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
Trajectory
Input and output files for the test calculation are available in this zip archive
Results
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.
MD code output | PLUMED output | Tolerance | % Difference |
---|---|---|---|
1 | 1.0 | 0.0001 | 0.0 |