[petsc-dev] DMCreateMatrix_Shell

Stefano Zampini stefano.zampini at gmail.com
Fri Feb 8 05:29:51 CST 2019


I don’t understand the need of these checks (tacky and incomplete…, as per the comment) 

https://bitbucket.org/petsc/petsc/src/75aeaa18afd73be7f3020f94b788241b9e0ba3d7/src/dm/impls/shell/dmshell.c#lines-197 <https://bitbucket.org/petsc/petsc/src/75aeaa18afd73be7f3020f94b788241b9e0ba3d7/src/dm/impls/shell/dmshell.c#lines-197>

Why are these checks needed? I’m inclined to remove these lines, but I would like some comments before doing it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190208/25c4e46a/attachment.html>


More information about the petsc-dev mailing list