[petsc-users] pcfieldsplit for a composite dm with multiple subfields

Jed Brown jed at jedbrown.org
Wed Sep 9 11:19:40 CDT 2015


Gideon Simpson <gideon.simpson at gmail.com> writes:

> Checking the Jacobian, this is a pretty standard output:
>
>       Testing hand-coded Jacobian, if the ratio is O(1.e-8), the hand-coded Jacobian is probably correct.
>     Finite difference Jacobian
>     Hand-coded Jacobian
>     Hand-coded minus finite difference Jacobian
>     6.08281e-10 = ||J - Jfd||//J|| 0.000151055  = ||J - Jfd||
>
>
> Things look favorable in terms of relative difference, but the absolute difference is a bit more suspect.

It likely just means you have big matrix entries (perhaps due to poor nondimensionalization/scaling).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150909/73b67804/attachment.pgp>


More information about the petsc-users mailing list