← Back to team overview

yade-users team mailing list archive

Re: [Question #242646]: Changing The Integration Algorithm

 

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

    Status: Open => Answered

Václav Šmilauer proposed the following answer:
You could implement the integrator as an engine running other engines
(cf. ParallelEngine which does that) in loop until you reach convergence
-- reset to the intial state at the beginning of the step, apply
displacement vector, collide, solve collisions, check the solution (if
not ok, revoke computed forces, go back to the step beginning with new
displacement vector).

Scene::moveToNextTimestep is just convenience stuff that runs at the
beginning of every step, so you can achieve pretty much the same with an
engine you put at the beginning of the engine sequence.

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