PLUMED

engines/plumed/SeamsColvar.cpp is the SEAMS action. engines/plumed/plumed.dat loads it on engines/plumed/ice.xyz, restrains seams.q6, and prints seams.ice and seams.ring. Coordinates in the xyz file are nanometers. calculate multiplies by 10 before the library call. ice is the cubic fraction and ring is the fraction of atoms on a primitive six-ring. Only q6 carries derivatives, which is why the deck can restrain it.

plumed ice 1.000000 ring 1.000000 hexagonal 0 six 128

When plumed and libSeamsPlumed.so are both present, plumed driver has to print the same ice and ring fractions.

PLUMED SEAMS action: ice fraction 1 and six-ring fraction 1.

The action’s ice and ring components.

What this tells you

Every atom is cubic and every atom sits on a six-ring, so both fractions are 1 and the hexagonal count stays 0. The restraint is legal only because q6 is the component with derivatives.