> Does it pay-off to use ''src'' that is locally relevant rather than locally
> owned? Is this more efficient? For me is clear that if ''src'' is merely
> locally owned it just doesn't have enough information to compute ''its
> part'', and at some point  vmult will have to ship the missing ''relevant''
> information in the src vector, is this correct? So it seems as if, from the
> very beginning, it is better to feed vmult with with locally relevant
> ''src''?

You are correct in that a vmult typically involves shipping some
vector data around. This is done automatically by the linear algebra
package (PETSc, Trilinos). I doubt that the existing ghost data is
used, so I don't think this will be faster. You would need to try this
out to be sure.

> Just trying to optimize my code …

Then measure first. ;-)

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to