yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #05894
Re: Enquiry
Hi Francois,
first you should add the label parameter to your engine so that you can easily call it at need. Something like:
O.engines=[...,
NewtonIntegrator(damping=0.7,label='Integrator')]
Then:
Integrator.damping=0.2 # to change the value of the damping parameter
By subtract I suppose you mean to get rid of that engine. You can do something like:
Integrator.dead=True # it will deactivate the engine next time step
Chiara
On 2 May 2012, at 15:37, Rioual François wrote:
> Hello,
>
> I have two questions regarding some modifications in engines:
>
> - I would like to modify afterwards the value of the damping
> parameter in the NewtonIntegrator: how can I write it ?
>
> - I would like to substract an engine with PyRunner: how can I
> do it ?
>
> Thank's for your help,
>
>
> Francois
>
> _______________________________________________
> 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
Follow ups
References
-
Enquiry
From: Rioual François, 2012-05-02