← Back to team overview

yade-users team mailing list archive

Re: [Question #218985]: erase certain engine

 

Question #218985 on Yade changed:
https://answers.launchpad.net/yade/+question/218985

Christian Jakob posted a new comment:
Hi,

One possibility is:

...
O.engines[3].dead = True
...

OR give engine a label, e.g.

...
NewtonIntegrator(gravity=[0.,0.,-10.],label=myLabel)
...

then you can type

...
myLabel.dead=True
...

to deactivate NewtonIntegrator OR

...
myLabel.gravity=[0.,0.,0.] 
...

to deactivate gravity.


Hope it helps.

Regards,

Christian.

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.