[petsc-users] MAT_NEW_NONZERO_LOCATION_ERR
Zhang, Hong
hzhang at mcs.anl.gov
Tue Oct 8 09:31:42 CDT 2019
Thibaut:
Hi,
Just out of curiosity, I'm a bit confused by the parameter option
MAT_NEW_NONZERO_LOCATION_ERR.
It triggers an error if you try to insert/add a value in the non-zero
structure, regardless of the matrix preallocation status. In what case
would such an option be useful?
It triggers an error if you try to insert/add a NEW value outside of your preallocated non-zero structure.
Hong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20191008/3220bdbd/attachment.html>
More information about the petsc-users
mailing list