#include "petscpc.h" PetscErrorCode PCFactorSetMatOrderingType(PC pc,MatOrderingType ordering)Logically Collective on PC
|pc||- the preconditioner context|
|ordering||- the matrix ordering name, for example, MATORDERINGND or MATORDERINGRCM|
Notes: nested dissection is used by default
For Cholesky and ICC and the SBAIJ format reorderings are not available, since only the upper triangular part of the matrix is stored. You can use the SeqAIJ format in this case to get reorderings.