[petsc-users] MAT_NEW_NONZERO_LOCATION_ERR

Thibaut Appel t.appel17 at imperial.ac.uk
Tue Oct 8 08:35:20 CDT 2019


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?


Thank you,

Thibaut



More information about the petsc-users mailing list