From: Sebastian Stolzenberg (s.stolzenberg_at_gmail.com)
Date: Sat Jul 24 2010 - 21:46:51 CDT
I am bound to use NAMD version 2.6b2.
For a tclforcescript, could anybody kindly tell me
how I can measure a distance between two atoms?
Unfortunately, the functions:
as described in the VMD tutorial don't work, though they work in
different NAMD versions.
FATAL ERROR: Setting parameter veclength2 from script failed!
[expr sqrt (2)]
seems to work, yet I am afraid using [expr sqrt( sum(...)) may slow
Are there alternative functions I can use?
Thank You so much,
these are the commands I use in the tclforcescript:
set dist [veclength2 $distvec]
#set dist [vecdist $distvec [vecsub $distvec $distvec ]]
This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:55:58 CST