[petsc-users] Calling MatDestroy on MatGetDiagonalBlock
Bhalla, Amneet Pal S
amneetb at live.unc.edu
Tue Jan 5 17:14:16 CST 2016
Hi Folks,
Is it safe to call MatDestroy on the sequential matrix returned by MatGetDiagonalBlock() after it’s no longer used?
Thanks,
— Amneet
=====================================================
Amneet Bhalla
Postdoctoral Research Associate
Department of Mathematics and McAllister Heart Institute
University of North Carolina at Chapel Hill
Email: amneet at unc.edu<mailto:amneet at unc.edu>
Web: https://abhalla.web.unc.edu<https://abhalla.web.unc.edu/>
=====================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160105/52b033f8/attachment.html>
More information about the petsc-users
mailing list