Cell vectors are passed correctly

PLUMED must receive the cell vectors from the MD code in order to calculate CVs correctly.
To test that cell vectors are passed correctly to PLUMED we run a short trajectory and output the cell vectors that are passed to PLUMED using the following command:

Click on the labels of the actions for more information on what each action computes
tested on2.9
tested onmaster
c: 
CELL
Calculate the components of the simulation cell More details

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:

  1. The values for the cell vectors that were obtained from the MD code, $x_{md}$.
  2. The values for the cell vectors that were obtained from PLUMED, $x_{pl}$.
  3. The tolerances that were used when comparing these quantities, $\delta$.
  4. 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
5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 5.0388 0.0000 0.0000 0.0000 5.0388 0.0000 0.0000 0.0000 5.0388 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000