[petsc-users] updating parallel matrix

Evan Um evanum at gmail.com
Wed Jun 5 05:49:42 CDT 2019


Hi PETSC users,

I want to solve a number of matrix-vector equations. In each equation, the
matrix has different values, but the sparsity pattern is unchanged. I can
destroy a current matrix and create a new matrix. However, is there a more
efficient way to do this task? Is there any code example for this kind of
problem? In advance, thank you very much for your comments.

Regards,
Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190605/46277092/attachment.html>


More information about the petsc-users mailing list