|
From: | Florian Weik |
Subject: | Re: [ESPResSo-users] Getting particle position |
Date: | Tue, 7 Apr 2015 16:21:40 +0200 |
https://lists.gnu.org/archive/html/espressomd-users/2010-06/msg00023.htmlHi,referring to this (quite old) thread:I try to get a particle position writing:set ppos [part $pid print pos]but I don't know how to address the coordinate values in the ppos variable.When I print it out it looks correct (3 coordinate values are displayed) but when I try to address, for example, the x coordinate with ppos(1), Tcl complains that ppos is not an array. What should I do then?Would be grateful for any suggestion,Paul
[Prev in Thread] | Current Thread | [Next in Thread] |