From: jc guo (guojc123_at_gmail.com)
Date: Sat Oct 24 2015 - 01:46:21 CDT
Dear NAMD users,
I was testing following codes (taken from replica.namd), I want to get MD
variables such as $TS, $ENERGY during every MD step, but the "global"
command seems not work after "callback", I could not print out $saved_label.
proc save_callback {labels values} {
global saved_labels saved_values
set saved_labels $labels
set saved_values $values
}
callback save_callback
puts stderr $saved_labels
Anyone know about it? and sometime I was very confused about how to get
results generated at each MD step.
Thanks before any reply.
Best regards,
Jiancang
This archive was generated by hypermail 2.1.6 : Thu Dec 31 2015 - 23:22:10 CST