:orphan: # MatSTRUMPACKSetColPerm Set whether STRUMPACK should try to permute the columns of the matrix in order to get a nonzero diagonal ## Synopsis ``` #include "petscmat.h" PetscErrorCode MatSTRUMPACKSetColPerm(Mat F, PetscBool cperm) ``` Logically Collective ## Input Parameters - ***F -*** the factored matrix obtained by calling `MatGetFactor()` - ***cperm -*** `PETSC_TRUE` to permute (internally) the columns of the matrix ## Options Database Key - ***-mat_strumpack_colperm -*** true to use the permutation ## References - **** -*** STRUMPACK manual ## See Also [](ch_matrices), `MatSTRUMPACKSetReordering()`, `Mat`, `MatGetFactor()`, `MatSTRUMPACKSetHSSRelTol()`, `MatSTRUMPACKSetHSSAbsTol()`, `MatSTRUMPACKSetHSSMaxRank()`, `MatSTRUMPACKSetHSSLeafSize()`, `MatSTRUMPACKSetHSSMinSepSize()` ## Level beginner ## Location src/mat/impls/aij/mpi/strumpack/strumpack.c ## Examples src/ksp/ksp/tutorials/ex52.c
## Implementations MatSTRUMPACKSetColPerm_STRUMPACK in src/mat/impls/aij/mpi/strumpack/strumpack.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/aij/mpi/strumpack/strumpack.c) [Index of all Mat routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)