[petsc-users] snes ex12 question about DMPlexProjectFunctionLocal

Geoffrey Irving irving at naml.us
Thu Nov 14 19:38:21 CST 2013


On Thu, Nov 14, 2013 at 5:35 PM, Matthew Knepley <knepley at gmail.com> wrote:
> On Thu, Nov 14, 2013 at 7:32 PM, Geoffrey Irving <irving at naml.us> wrote:
>>
>> If this line in ex12 is part of Dirichlet boundary conditions, why is
>> it done unconditionally even for Neumann?  Is this a mistake that
>> fails to test correct Neumann conditions?
>>
>>     ierr = DMPlexProjectFunctionLocal(dm, user.fe, user.exactFuncs,
>> INSERT_BC_VALUES, userJ.u);CHKERRQ(ierr);
>
> No, its just idempotent in that case.

That's what I meant by fail to test: if there was a bug related to
null spaces, it wouldn't show up in this example.

Thanks,
Geoffrey


More information about the petsc-users mailing list