> > 2. How to incorporate random access to Interaction*MetaEngines?

I mean, whether to ensure compatibility for containers with serial access? Or 
in the future to require only random-access containers? 

> > and PhysicalActionVectorVector::find break a parallel computations because 
> > it resize
> > physicalActions container.
> ? It should resize only when number of bodies changes.

No. For example, try GravityEngine with pragma omp parallel. It will be crashed 
simulation.
That this does not happen, you must first call this function with the greatest 
body_id.
(workaround, to use serial GravityEngine before any parallel engine which need 
physicalActions).

-- 
Best regards, Sergei D.

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to