← Back to team overview

yade-users team mailing list archive

Re: [Question #685280]: Error in making Video from simulation

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi,

> unable to locate NewtonIntegrator within O.engines.

some error messages might be a bit cryptic, but this one is clear - you
do not have NewtonIntegrator in O.engines.

you have O.engines = [...] and just after you do some slicing (which in the end deletes NewtonIntegrator, probably not what you wanted).
Normally such slicing done when you need to modify O.engines during the simulation.
In this case, just put all engines directly in O.engines creation:
###
O.engines = [
   ForceResetter(...),
   ...
   triax,
   NewtonIntegrator(...),
   PyRunner(...),
   PyRunner(...),
   qt.SnapshotEngine(...),
   PyRunner(...),
]
###

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.