[Trilinos-Users] Matrix-vector product

Fan YE yefanhust at gmail.com
Wed Aug 21 04:27:42 MDT 2013


Hello,

I've a question about the product of a distributed object with a locally
replicated object.
Here's the thing.
Given a Tpetra::CrsMatrix A distributed over processes, in general case one
defines a Tpetra::Vector x and b in such manner:

Tpetra::Vector<....> x(A.getDomainMap);
Tpetra::Vector<....> b(A.getRangeMap);

to enable this operation:

A.apply(x. b);

However for some reason, I'd like the x and even b to be locally
replicated. How should I do to accomplish the spmv of A*x so as to minimize
the communication?

Thanks a lot for any possible comments.

Best regards,
Fan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20130821/de273a86/attachment.html 


More information about the Trilinos-Users mailing list