This is part of the colvar module |
Calculate the total potential energy of the simulation box.
The potential energy can be biased e.g. with umbrella sampling [13] or with well-tempered metadynamics [21].
Notice that this CV could be unavailable with some MD code. When it is available, and when also replica exchange is available, metadynamics applied to ENERGY can be used to decrease the number of required replicas.
"pair_modify tail yes"
or GROMACS "DispCorr Ener"
(or "DispCorr EnerPres"
), the potential energy from ENERGY will be slightly different form the one of the MD code. You should still be able to use ENERGY and then reweight your simulation with the correct MD energy value.The following input instructs plumed to print the energy of the system
ene: ENERGY PRINTARG=enethe input for this action is the scalar output from one or more other actions.