help with calcforces

From: Prabhakar Bhimalapuram (
Date: Fri May 02 2008 - 13:32:22 CDT

  I am running a simulation with NAMD, in which I use tclForces module
to calculate a dihedral, which I call 'phi'; using the value of phi
two boolean variables "cond1" and "cond2" are evaluated. Of course the
dynamics is started when the input script processes "run $numsteps"
command. Now,
a) I want to store the configuration (positon and velocites) whenever
"phi" satisfies condition "cond1"
b) I want to break out of the "run" command whenever "phi" satisfies
condition "cond2"; then I want to read a new configuration file and
continue the simulation.

Is calcforces the right palce to do it ? And how do I do it ? I have
looked at both the NAMD user guide and tclForces tutorial, and it is
still not clear to me. I would appreciate any pointers.

Univ. of Chicago

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:49:26 CST