[petsc-users] Question on DMMGSetSNESLocal from snes/example/tutorials/ex19.c
Jed Brown
jed at jedbrown.org
Sat May 31 18:29:18 CDT 2014
Barry Smith <bsmith at mcs.anl.gov> writes:
>So make all the “extra” equations be simply f.v[i][j] = x.v[i][j] (or
>x.p or x.u depending on where) and put a 1 on the diagonal of that
>row/column of the Jacobian).
This would typically be f[j][i].v = x[j][i].v, etc.
-------------- 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/20140601/298db57b/attachment.pgp>
More information about the petsc-users
mailing list