# collective variable example: monitor distances colvarsTrajFrequency 100 # output every 100 steps colvarsRestartFrequency 1000 colvar { name dist distance { group1 { atomNumbers 1:12 31:44 45:56 81:92 } group2 { atomNumbers 13:30 57:80 } } } metadynamics { name metad colvars dist hillWeight 10 newHillFrequency 1000 hillWidth 1.25331 width=1.0 writeFreeEnergyFile on SaveFreeEnergyFile off outputEnergy on writeHillsTrajectory on }