[petsc-users] Matrix reuse with changing structure

Smith, Kevin R. Kevin.R.Smith at jhuapl.edu
Tue Mar 15 12:24:12 CDT 2016


Hello,

Is it possible to reuse a sparse matrix and not reuse its non-zero structure?   I have a matrix whose sparse structure changes each time. I'm hoping to avoid destroying and allocating new matrices each time the structure changes.

Thanks,
  Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160315/06baebb8/attachment.html>


More information about the petsc-users mailing list