[petsc-dev] Creation of snes->vec_func
Barry Smith
bsmith at mcs.anl.gov
Thu Dec 22 11:49:45 CST 2011
On Dec 22, 2011, at 10:27 AM, Jed Brown wrote:
> 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.
Ok
>
> 2. Change the if (0) to check a command line option. This will make your life easier when you want to tinker with it.
Don't bother, just label it as dead code that Barry refuses to let die.
More information about the petsc-dev
mailing list