Question #189288 on Yade changed:
https://answers.launchpad.net/yade/+question/189288
liucheng83 posted a new comment:
Really, I want to build an array like this
tt=[]
tt=[ForceEngine(ids=[i],force=(0,0,i),label=ttForce) for i in ids_sp]
and tt[0],tt[i] are the ForceEngine,
but I donnot know how
Question #189288 on Yade changed:
https://answers.launchpad.net/yade/+question/189288
Jan Stránský posted a new comment:
Hello,
Really, I want to build an array like this
tt=[]
tt=[ForceEngine(ids=[i],force=(0,0,i),label=ttForce) for i in ids_sp]
and tt[0],tt[i] are the ForceEngine,
but I
Question #189288 on Yade changed:
https://answers.launchpad.net/yade/+question/189288
liucheng83 posted a new comment:
Hi, Jan Stránský (honzik)
Thank you very much! O.engines = [ ... ] + tt + [ ... ] is a good way to solve
the problem!
--
You received this question notification because you
Question #189288 on Yade changed:
https://answers.launchpad.net/yade/+question/189288
Status: Open = Solved
Klaus Thoeni confirmed that the question is solved:
Ok, I have a solution but it might not be the most efficient one. I
created a periodic engine, e.g. PyRunner, which executes
4 matches
Mail list logo