Hi, Ok to move the gravity engine into the Newton integrator. About the fact that gravity engine is paralellized I can just say that for more than 10000 grains the speed improvment is appreciable on a dual core, but I cannot say how much.
Luc > Hi folks, > > What about adding an attribute "gravity" (Vector3r::Null by default) to > Newton integrator instead of dragging gravity engine? > It would save one loop on all bodies. > > Btw, I see gravity engine is paralellized, did somebody (Vaclav) compare > speed? It might be slower in multithreading for such simple operation. > > Cheers. > > Bruno > > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-dev > Post to : yade-dev@lists.launchpad.net > Unsubscribe : https://launchpad.net/~yade-dev > More help : https://help.launchpad.net/ListHelp > -- Luc Sibille Université de Nantes - Laboratoire GeM Adresse/address: IUT de Saint Nazaire - Département de Génie-Civil 58, rue Michel-Ange - BP 420 44606 Saint-Nazaire Cedex France Tel: +33 2 40 17 81 78 _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp