[petsc-users] MatGetSubMatrices or VecCreateGhost

Bikash Kanungo bikash at umich.edu
Fri Oct 16 19:25:00 CDT 2015


Thanks for the input Jed.
On Oct 16, 2015 12:42 PM, "Jed Brown" <jed at jedbrown.org> wrote:

> Bikash Kanungo <bikash at umich.edu> writes:
> > Matrix A defined in my problem is of size NxN and I have N vectors v_i,
> > each of length N, which are to be multiplied by A. N is fairly small
> > 10000-50000.
>
> Your vectors form a square matrix, so I would use MatMatMult.  If the
> number of vectors was much smaller than their size (e.g., 10), then
> alternatives might make sense.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20151016/0af62bde/attachment.html>


More information about the petsc-users mailing list