[petsc-users] neumann failure in my version of snes ex12

Jed Brown jedbrown at mcs.anl.gov
Sat Nov 23 11:58:13 CST 2013


Geoffrey Irving <irving at naml.us> writes:
>> SNES will do it automatically. You can just call MatNullSpaceRemove().
>
> I.e., SNES will call MatNullSpaceRemove automatically, or I should
> manually in a wrapper around DMSNESSetFunctionLocal?

If you can't make the SNES residual be consistent, then yes, you'll have
to remove it explicitly.

If the problem is only that the solution "drifts" after a huge number of
solves, you could use SNESLineSearchSetPostCheck or otherwise project
out the noise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131123/8e97323b/attachment.pgp>


More information about the petsc-users mailing list