[petsc-dev] KSP accepts mismatched sizes between Mat and PC

Alp Dener alp.dener at gmail.com
Mon Apr 16 13:04:51 CDT 2018


Hi Barry,

While I was working on some active-set related stuff in TAO, I discovered
that I can call KSPSetOperators() with differently sized Mat and PC objects
without getting any errors or warnings about the size mismatch. Note that
my Mat object is explicit, but the PC object is a MATSHELL. Is this
intended behavior, or is it a bug?

—
Alp Dener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180416/18585457/attachment.html>


More information about the petsc-dev mailing list