petsc-3.7.1 2016-05-15
Report Typos and Errors

# MATAIJ

MATAIJ = "aij" - A matrix type to be used for sparse matrices. This matrix type is identical to MATSEQAIJ when constructed with a single process communicator, Many brand MATMPIAIJ otherwise. As a result, for single process communicators, Many brMatSeqAIJSetPreallocation is supported, and similarly MatMPIAIJSetPreallocation is supported Many brfor communicators controlling multiple processes. It is recommended that you call both of Many brthe above preallocation routines for simplicity. Many br

### Options Database Keys

-mat_type aij -sets the matrix type to "aij" during a call to MatSetFromOptions() Many br

Developer Notes: Subclasses include MATAIJCUSP, MATAIJCUSPARSE, MATAIJPERM, MATAIJCRL, and also automatically switches over to use inodes when Many brenough exist. Many br

Many br

### See Also

MatCreateAIJ(), MatCreateSeqAIJ(), MATSEQAIJ,MATMPIAIJ

Level:beginner
Location:src/mat/impls/aij/mpi/mpiaij.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/mat/examples/tutorials/ex8.c.html
src/ksp/ksp/examples/tutorials/ex4.c.html
src/ksp/ksp/examples/tutorials/ex31.c.html
src/ksp/ksp/examples/tutorials/ex42.c.html
src/ksp/ksp/examples/tutorials/ex43.c.html
src/ksp/ksp/examples/tutorials/ex49.c.html
src/ksp/ksp/examples/tutorials/ex55.c.html
src/ksp/ksp/examples/tutorials/ex56.c.html
src/ksp/ksp/examples/tutorials/ex15f.F.html
src/ksp/ksp/examples/tutorials/ex44f.F90.html
src/ksp/ksp/examples/tutorials/ex52f.F.html