Geoffrey Irving <[email protected]> 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.

Attachment: pgpBbjaaLfoi1.pgp
Description: PGP signature

Reply via email to