yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #07161
Re: [Question #222563]: tracking a sphere in a pack
Question #222563 on Yade changed:
https://answers.launchpad.net/yade/+question/222563
Christian Jakob posted a new comment:
hi,
from your script i see some problems.
i am not sure, if this solves all errors ...
for 1. :
wrong:
def plotAddData():
pos = b.state.pos
plot.addData( i=O.iter, x=pos[0], y=pos[1], z=pos[2] )
correct:
def plotAddData():
pos = b.state.pos
plot.addData( i=O.iter, x=pos[0], y=pos[1], z=pos[2] )
-> you forgot indents
for 2. :
wrong:
plot.addData( i=O.iter, x=pos[0], y=pos[1], z=pos[2]
,nIntrs=len(b.intrs()
correct:
plot.addData( i=O.iter, x=pos[0], y=pos[1], z=pos[2]
,nIntrs=len(b.intrs())
-> you forgot ")"
regards,
christian
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.