|Subject:||[ESPResSo-users] Getting particle position|
|Date:||Tue, 7 Apr 2015 16:18:19 +0200|
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,
|[Prev in Thread]||Current Thread||[Next in Thread]|