From 64695d5beec24e26621e662238b6ca231625da78 Mon Sep 17 00:00:00 2001
From: Giovanni Bussi <giovanni.bussi@gmail.com>
Date: Fri, 3 Jul 2015 08:04:05 +0200
Subject: [PATCH] Added registration of MOVINGRESTRAINT.work

---
 src/bias/MovingRestraint.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bias/MovingRestraint.cpp b/src/bias/MovingRestraint.cpp
index 66275e39f..a4e1052b9 100644
--- a/src/bias/MovingRestraint.cpp
+++ b/src/bias/MovingRestraint.cpp
@@ -137,6 +137,7 @@ void MovingRestraint::registerKeywords( Keywords& keys ){
   keys.reset_style("KAPPA","compulsory");
   componentsAreNotOptional(keys);
   keys.addOutputComponent("bias","default","the instantaneous value of the bias potential");
+  keys.addOutputComponent("work","default","the total work performed changing this restraint");
   keys.addOutputComponent("force2","default","the instantaneous value of the squared force due to this bias potential");
   keys.addOutputComponent("_cntr","default","one or multiple instances of this quantity will be refereceable elsewhere in the input file. "
                                             "these quantities will named with  the arguments of the bias followed by "
-- 
GitLab