[petsc-users] MatGetSubMatrices or VecCreateGhost

Jed Brown jed at jedbrown.org
Fri Oct 16 11:42:11 CDT 2015


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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20151016/d970bd16/attachment.pgp>


More information about the petsc-users mailing list