> > My question: is there a way, with the current code, to avoid that? > For instance am I allowed to create an engine doing a loop over all the > bodies and calling inside the loop, for each body, the engines > MagnetEngine and GravityEngine. > > What you suggest would work (some would call it a "hack" though...), except that you need at least two engines : one for loops on bodies and one for loops on interactions. Not sure how much time it would save, I'm really wondering too.
Bruno > Thanks for your answers, > > Luc > > > -- _______________ Chareyre Bruno Maitre de conference Institut National Polytechnique de Grenoble Laboratoire 3S (Soils Solids Structures) - bureau E145 BP 53 - 38041, Grenoble cedex 9 - France Tél : 33 4 56 52 86 21 Fax : 33 4 76 82 70 43 ________________ _______________________________________________ Yade-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/yade-users
