[petsc-users] Example for MatSeqAIJKron?

Yuyun Yang yyang85 at alumni.stanford.edu
Mon Dec 5 02:12:39 CST 2022


Dear PETSc team,

Is there an example for using MatSeqAIJKron? I’m using MatCreate for all matrices in the code, and wonder if I need to switch to MatCreateSeqAIJ in order to use this function? Just want to compute simple Kronecker products of a sparse matrix with an identity matrix.

Thank you,
Yuyun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20221205/fbba11c6/attachment.html>


More information about the petsc-users mailing list