[petsc-users] A number of questions about DMDA with SNES and Quasi-Newton methods
zakaryah .
zakaryah at gmail.com
Mon Sep 4 15:48:47 CDT 2017
One piece of information that would be useful is what ordering PETSc uses
for the Jacobian in the snes_test_display. Is it a natural ordering, or
the PETSc ordering? For debugging the Jacobian manually, the natural
ordering is much easier to work with. For -n 1, are the orderings the same?
If I use a MatStencil r to represent a field with 3 degrees of freedom, and
the dimensions of my 3D DMDA are MxNxP, which row of the Jacobian
corresponds to r.i=x, r.j=y, r.k=z, r.c=f?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170904/59c15ab0/attachment.html>
More information about the petsc-users
mailing list