Extracting a list of Loc<>s out of a distributed engine?

Richard Guenther rguenth at tat.physik.uni-tuebingen.de
Fri Nov 21 22:21:59 UTC 2003


Hi!

Is there a convenient (fast) way to extract say a std::vector<Loc<3> > out
of an existing distributed Array into another (local) 1d Array? So,
something like

   std::vector<Loc<3> > v = ...;
   Array<1, double, Remote<Brick> > A;  // local on node #0
   Array<3, double, MultiPatch<GridTag, Remote<Brick> > > B;  // distributed
   A = B(v);

?

I'm currently iterating over the vector copying one Loc at a time, but
this obviously doesnt scale - optimal would be communication in chunks
local to one host.

Any suggestions?

Richard.



More information about the pooma-dev mailing list