[petsc-users] [DMMG] Stokes Solver

Jed Brown jed at 59A2.org
Fri Apr 8 12:28:11 CDT 2011


On Fri, Apr 8, 2011 at 14:28, <domenico.borzacchiello at univ-st-etienne.fr>wrote:

> I Assumed that the FD evaluation of Jacobian would be exact since the the
> Function is linear.
>

Sort of, it's still a problem if your function looks like f(x) = huge +
epsilon * x. I suspect either a memory bug (try valgrind) or that your
FormFunctionLocal is using internal state or otherwise nonlinear.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110408/03503a49/attachment.htm>


More information about the petsc-users mailing list