← Back to team overview

yade-users team mailing list archive

Re: Are we obliged to use NewtonIntegrator ?

 

Forces were not synced, if you do not use NewtonIntegrator.
Seems, it is fixed in r2849.

Anton




On Tue, May 3, 2011 at 11:57 AM, Jerome Duriez <duriez@xxxxxxxxxxxxxxx> wrote:
> (I write to mailing list because of the two scripts I have to attach)
>
> Hello,
>
> I would like to show you the two attached scripts. It is about two spheres
> (in FrictMat) who do not move. O.engines contains only ForceResetter,
> InsertionSortCollider and Interaction Loop. And that's the difference
> between the two scripts, NewtonIntegrator or not. NewtonIntegrator is *not*
> contained in scriptCrash. Due to its name, this script crashes, whereas the
> second which contains NewtonIntegrator does not. The crash occurs more
> precisely in ForceContainer::Reset called by Engine ForceResetter.
>
> I wonder if it is "normal" ? The reason is probably that NewtonIntegrator
> cares about forces of bodies, and then performs something indispensable (I
> do not know what exactly).
>
> If you agree with what I say (?), I'd suggest at least to put a warning
> saying that NewtonIntegrator engine is in fact mandatory, and performs not
> only "integration of newtonian motion equations"
>
> That is the reason of https://bugs.launchpad.net/yade/+bug/739429. My script
> did not contain NewtonIntegrator.
>
> To conclude, the funny thing is that, if you get rid of interactions in
> scriptCrash, either by removing one of the two spheres, or by removing the
> InteractionLoop engine, crash disappears...
>
> Jerome
>
> --
> Jérôme Duriez
> ATER Polytech' Grenoble - Laboratoire 3S-R
> 04.56.52.86.49 (ne pas laisser de messages sur le répondeur)
>
>
> _______________________________________________
> 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
>
>


References