yade-users team mailing list archive
Mailing list archive
Re: [Question #166809]: remove functions from PyRunner
Question #166809 on Yade changed:
Status: Open => Answered
Chiara Modenese proposed the following answer:
We added some time ago a useful feature which would solve your problem. If
you add a label to the engine you want to eliminate from the simulation
(e.g. PyRunner(iterPeriod=10,command='calm()',label='MyEngine')), then you
It practically means that since next iteration that engine will not be
active any longer.
On 3 August 2011 12:41, Christian Jakob <
> New question #166809 on Yade:
> 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
> def calm():
> for ii in range(0,sum_spheres+1):
> I can add this function to O.engines with the PyRunner command:
> My question is:
> How can I remove this function? I need it only on the first few steps in my
> I tried...
> ...but it doesnt work.
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
> Mailing list: https://launchpad.net/~yade-users
> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.