[petsc-users] MAT_NEW_NONZERO_LOCATIONS working?

Marius Buerkle mbuerkle at web.de
Tue May 29 03:31:55 CDT 2018


Hi,
 
I tried to set MAT_NEW_NONZERO_LOCATIONS to false, as far as I understood MatSetValues should simply ignore  entries which would give rise to new nonzero values not creating a new entry and not cause an error, but I get  "[1]PETSC ERROR: Inserting a new nonzero at global row/column". Is this option supposed to work or not?


More information about the petsc-users mailing list