MATAIJPERM — PETSc 3.25.1 documentation

Skip to main content
`Ctrl`+`K`

# MATAIJPERM

“AIJPERM” - A matrix type to be used for sparse matrices. This matrix type is identical to `MATSEQAIJPERM` when constructed with a single process communicator, and `MATMPIAIJPERM` otherwise. As a result, for single process communicators, `MatSeqAIJSetPreallocation()` is supported, and similarly `MatMPIAIJSetPreallocation()` is supported for communicators controlling multiple processes. It is recommended that you call both of the above preallocation routines for simplicity.

## Options Database Key

- -mat_type aijperm - sets the matrix type to `MATAIJPERM`

## See Also

Matrices, `Mat`, `MatCreateMPIAIJPERM()`, `MATSEQAIJPERM`, `MATMPIAIJPERM`, `MATSEQAIJ`, `MATMPIAIJ`, `MATSEQAIJMKL`, `MATMPIAIJMKL`, `MATSEQAIJSELL`, `MATMPIAIJSELL`

## Level

beginner

## Location

src/mat/impls/aij/mpi/aijperm/mpiaijperm.c

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages