d2: DISTANCE ATOMS=1,2
d3: DISTANCE ATOMS=1,3
d4: DISTANCE ATOMS=1,4
d5: DISTANCE ATOMS=1,5
d6: DISTANCE ATOMS=1,6
d7: DISTANCE ATOMS=1,7
d8: DISTANCE ATOMS=1,8

d2_n: DISTANCE ATOMS=1,2 NUMERICAL_DERIVATIVES
d3_n: DISTANCE ATOMS=1,3 NUMERICAL_DERIVATIVES
d4_n: DISTANCE ATOMS=1,4 NUMERICAL_DERIVATIVES
d5_n: DISTANCE ATOMS=1,5 NUMERICAL_DERIVATIVES
d6_n: DISTANCE ATOMS=1,6 NUMERICAL_DERIVATIVES
d7_n: DISTANCE ATOMS=1,7 NUMERICAL_DERIVATIVES
d8_n: DISTANCE ATOMS=1,8 NUMERICAL_DERIVATIVES

DUMPDERIVATIVES ARG={d2 d2_n} FILE=der2  FMT=%6.2f
DUMPDERIVATIVES ARG={d3 d3_n} FILE=der3  FMT=%6.2f
DUMPDERIVATIVES ARG={d4 d4_n} FILE=der4  FMT=%6.2f
DUMPDERIVATIVES ARG={d5 d5_n} FILE=der5  FMT=%6.2f
DUMPDERIVATIVES ARG={d6 d6_n} FILE=der6  FMT=%6.2f
DUMPDERIVATIVES ARG={d7 d7_n} FILE=der7  FMT=%6.2f
DUMPDERIVATIVES ARG={d8 d8_n} FILE=der8  FMT=%6.2f

ccd2: DISTANCE ATOMS=1,2 COMPONENTS
ccd3: DISTANCE ATOMS=1,3 COMPONENTS
ccd4: DISTANCE ATOMS=1,4 COMPONENTS
ccd5: DISTANCE ATOMS=1,5 COMPONENTS
ccd6: DISTANCE ATOMS=1,6 COMPONENTS
ccd7: DISTANCE ATOMS=1,7 COMPONENTS
ccd8: DISTANCE ATOMS=1,8 COMPONENTS


PRINT FILE=COLVAR ARG=d2,d3,d4,d5,d6,d7,d8

PRINT FILE=components2 ARG=ccd2.*
PRINT FILE=components3 ARG=ccd3.*
PRINT FILE=components4 ARG=ccd4.*
PRINT FILE=components5 ARG=ccd5.*
PRINT FILE=components6 ARG=ccd6.*
PRINT FILE=components7 ARG=ccd7.*
PRINT FILE=components8 ARG=ccd8.*











ENDPLUMED
