freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Richard Guenther
Subject: Extracting a list of Loc<>s out of a distributed engine?
Date: Fri, 21 Nov 2003 23:21:59 +0100 (CET)

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]