[petsc-users] reordering the dmda dof

Bishesh Khanal bisheshkh at gmail.com
Fri Oct 11 08:09:00 CDT 2013


Dear all,
By default, dmda puts all dof at a given node logically in consecutive
order. The corresponding vectors and matrices created also follow this
order. What should I do to change it so that it puts all the grid nodes for
a 1st dof consecutively, then do the same for 2nd dof and so on. I also
want the same behavior for the matrix it creates so that the rows
corresponding to a particular dof are put in a consecutive manner instead
of interleaving different dofs.

Thanks,
Bishesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131011/52e79654/attachment.html>


More information about the petsc-users mailing list