[petsc-users] I am wondering if there is a way to implement SPMM

Cong Li solvercorleone at gmail.com
Tue Aug 4 01:42:14 CDT 2015


Thanks for your reply.

I have an other question.
I want to do SPMM several times and combine result matrices into one bigger
matrix.
for example
I firstly calculate AX1=B1, AX2=B2 ...
then I want to combine B1, B2.. to get a C, where C=[B1,B2...]

Could you please suggest a way of how to do this.

Thanks

Cong Li

On Tue, Aug 4, 2015 at 3:27 PM, Jed Brown <jed at jedbrown.org> wrote:

> Cong Li <solvercorleone at gmail.com> writes:
>
> > Hello,
> >
> > I am a PhD student using PETsc for my research.
> > I am wondering if there is a way to implement SPMM (Sparse matrix-matrix
> > multiplication) by using PETSc.
>
>
> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatMatMult.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150804/91bed7cc/attachment.html>


More information about the petsc-users mailing list