[petsc-dev] Creation of snes->vec_func

Jed Brown jedbrown at mcs.anl.gov
Thu Dec 22 10:27:16 CST 2011


On Thu, Dec 22, 2011 at 10:23, Barry Smith <bsmith at mcs.anl.gov> wrote:

> I understand it is never executed, what I described is why it is there and
> how it has been used in the past.


Can we

1. Move the call to MatFindNonzeroRows() inside the if statement so it
stops leaking for normal users.

2. Change the if (0) to check a command line option. This will make your
life easier when you want to tinker with it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111222/aa062a92/attachment.html>


More information about the petsc-dev mailing list