[petsc-users] Block matrix vector products?

Tyler Chen chentyl at uw.edu
Mon Jul 15 22:49:57 CDT 2019


Hello,

I am looking for a way to compute two matrix vector products
simultaneously, where the matrix is the same for both products (i.e. Ax and
Ay). I know some numerical libraries have the concept of "block vectors" or
"basis vectors" and was wondering if there is anything similar in PETSc.
Right now I am just using two MatMults sequentially, but I'm hoping there
are probably better ways to do this. My matrices are MPIAIJ if that makes
any difference.

Best,
Tyler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190715/be3bb717/attachment.html>


More information about the petsc-users mailing list