mu0: DISTANCE ATOMS=1,10
mu1: DISTANCE ATOMS=5,10
mu2: DISTANCE ATOMS=3,9
mu3: DISTANCE ATOMS=2,10
mu4: DISTANCE ATOMS=6,10
mu5: DISTANCE ATOMS=5,9

ens: LOCALENSEMBLE ARG1=mu0,mu3 ARG2=mu1,mu4 ARG3=mu2,mu5 NUM=3 
ensn: LOCALENSEMBLE ARG1=mu0,mu3 ARG2=mu1,mu4 ARG3=mu2,mu5 NUM=3 NUMERICAL_DERIVATIVES

PRINT ...
  STRIDE=1
  ARG=*.* 
  FILE=COLVAR FMT=%6.3f
... PRINT

DUMPDERIVATIVES ARG=ens.*,ensn.* STRIDE=1 FILE=deriv FMT=%6.3f

FLUSH STRIDE=100

ENDPLUMED

