remove functions from PyRunner
Asked by
Christian Jakob
Hi,
For generation process of my model I create some spheres randomly. Then the model has to calm, because there are some overlaps. So I wrote a small function:
def calm():
for ii in range(0,
O.bodies[
I can add this function to O.engines with the PyRunner command:
O.engines=
O.run(1000,True)
My question is:
How can I remove this function? I need it only on the first few steps in my model.
I tried...
O.engines=
...but it doesnt work.
Christian.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Christian Jakob
- Solved:
- Last query:
- Last reply:
To post a message you must log in.