[petsc-users] precise meaning of SAME_NONZERO_PATTERN in MatAXPY?

Frederik Treue frtr at fysik.dtu.dk
Tue Mar 12 04:56:31 CDT 2013


Hi,

what, exactly, does the the matstructure parameter to (e.g.) MatAXPY do?
If the two matrices come from the same dm, ie. have the same stencil, is
SAME_NONZERO_PATTERN then _guaranteed_ to work? Or does the routines
actually depend on the actual value of the matrices being zero/non-zero,
even inside the stencil?

/Frederik Treue



More information about the petsc-users mailing list