Re: accessing values of 'extendedLagrangian' fictious degree of freedom

From: Jérôme Hénin (
Date: Wed Apr 27 2016 - 04:24:18 CDT

Hi Prabhakar,

If you enable extendedLagrangian and access the value of the collective
variable through Tcl, what you get *is* the fictitious degree of freedom,
not the "actual" value of the geometric function. In the colvars trajectory
file, you get both values. A trick if you need both values from Tcl would
be to parse the output of [cv printframe].


On 27 April 2016 at 05:01, Prabhakar Bhimalapuram <> wrote:

> Hello NAMD users,
> (a) I wanted to access the values of the fictitious degree of freedom of
> 'extendedLagrangian' method.
> (b) If accessing it possible, I want to use its value in 'tclForces' to
> add extra force on the system.
> Is it possible to do so? Any pointers?
> Regards,
> Prabhakar

This archive was generated by hypermail 2.1.6 : Tue Dec 27 2016 - 23:22:04 CST