| 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 [12] or with well-tempered metadynamics [19].
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.
The GREX interface stops with an error if an ENERGY CV is defined when the MD engine supplies a foreign physical energy. Existing GROMACS -hrex patches already provide this signal, so GROMACS does not need to be patched again. Use a PLUMED 2.11 or newer kernel with HREX ENERGY support for this combination. This guard does not detect native GROMACS lambda replica exchange.
The following input instructs plumed to print the energy of the system
ene: ENERGY PRINT ARGthe input for this action is the scalar output from one or more other actions. =ene