VMD-L Mailing List
From: Ronald Salesky (rsalesky_at_unm.edu)
Date: Thu Apr 15 2010 - 16:06:56 CDT
- Next message: Axel Kohlmeyer: "Re: recognizing TCL variables in a matrix argument"
- Previous message: Axel Kohlmeyer: "Re: how to download & install QMTool plugin"
- Next in thread: Axel Kohlmeyer: "Re: recognizing TCL variables in a matrix argument"
- Reply: Axel Kohlmeyer: "Re: recognizing TCL variables in a matrix argument"
- Reply: Andrew M. Simms: "mol urlload -- this doesn't seem to work in Windows (it does seem to work from Linux)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hello all,
I am attempting to have TCL variable arguments within a
matrix w/o success. For example
set beta 45
set pi 3.14159
set rbeta [expr $beta * $pi / 180.0]
set roty {{[expr cos($rbeta)] 0.0 [expr -sin($rbeta)] 0.0}
{0.0 1.0 0.0 0.0} {[expr sin($rbeta)] 0.0 [expr
cos($rbeta)] 0.0} {0.0 0.0 0.0 0.0}}
set r [coordtrans $roty {$x $y $z}]
which results in the message:
"vectrans: poorly formed matrix" when attempting to run in
the VMD Tkconsole. Is there a way to do this? Or is it not
possible because vectors and matrices are VMD extensions
to TCL?
Thank you,
Ron
- Next message: Axel Kohlmeyer: "Re: recognizing TCL variables in a matrix argument"
- Previous message: Axel Kohlmeyer: "Re: how to download & install QMTool plugin"
- Next in thread: Axel Kohlmeyer: "Re: recognizing TCL variables in a matrix argument"
- Reply: Axel Kohlmeyer: "Re: recognizing TCL variables in a matrix argument"
- Reply: Andrew M. Simms: "mol urlload -- this doesn't seem to work in Windows (it does seem to work from Linux)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]