Re: [Yade-dev] Accessing bodies from interactions

2009-12-01 Thread Bruno Chareyre
since I would like to rename MetaBody to World as well ;-) I vote for "scene" instead! ;-) Bruno -- ___ Chareyre Bruno Maître de Conférences Grenoble INP Laboratoire 3SR - bureau E145 BP 53 - 38041, Grenoble cedex 9 - France Tél : 33 4 56 52 86 21 Fax : 33 4 76 82 70 43 _

Re: [Yade-dev] Accessing bodies from interactions

2009-12-01 Thread Václav Šmilauer
> > Better suggestion where to store it? In the engine?> > That, or ncb could be just a static pointer in each Yade instance (in > Omega?). Just suggestions, passing ncb is not a big problem. I also used to think it could be static... Bot sometimes it is handy to have 2 simulation in memory (

Re: [Yade-dev] Accessing bodies from interactions

2009-12-01 Thread Bruno Chareyre
Václav Šmilauer a écrit : Today, I found myself trying to get velocities of interacting body1 and body2(*), and I realized I couldn't make it, because the metabody is not a parameter of InteractionGeometryEngineUnit::go(). Does someone have a simple solution in mind? Does the new class "state

Re: [Yade-dev] Accessing bodies from interactions

2009-12-01 Thread Václav Šmilauer
> Today, I found myself trying to get velocities of interacting body1 and > body2(*), and I realized I couldn't make it, because the metabody is not > a parameter of InteractionGeometryEngineUnit::go(). > > Does someone have a simple solution in mind? > > Does the new class "state" affect this

[Yade-dev] Accessing bodies from interactions

2009-11-30 Thread Bruno Chareyre
Hello Today, I found myself trying to get velocities of interacting body1 and body2(*), and I realized I couldn't make it, because the metabody is not a parameter of InteractionGeometryEngineUnit::go(). Does someone have a simple solution in mind? Does the new class "state" affect this probl