You can also use runtime option: -pc_factor_mat_ordering_type <type> supported types: natural nd 1wd rcm qmd rowlength
Hong On Wed, Mar 28, 2012 at 10:50 AM, Matthew Knepley <knepley at gmail.com> wrote: > On Wed, Mar 28, 2012 at 10:46 AM, recrusader <recrusader at gmail.com> wrote: > >> Dear PETSc developers, >> >> >> In order to reorder the matrix, I just find relevant functions for LU >> decomposition in "PC". >> My question is whether i can reorder the matrix and then use iterative >> method like gmres. >> If it works, how to do it? Thank you very much. >> > > > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/MatOrderings/MatGetOrdering.html > > Matt > > >> Best, >> Yujie >> > > > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120328/6b5c4c2d/attachment.htm>
