petsc-3.3-p7 2013-05-11

MATAIJCUSP

MATAIJCUSP = "aijcusp" - A matrix type to be used for sparse matrices. This matrix type is identical to MATSEQAIJCUSP when constructed with a single process communicator, and MATMPIAIJCUSP 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 Keys

-mat_type mpiaijcusp -sets the matrix type to "mpiaijcusp" during a call to MatSetFromOptions()

See Also

MatCreateMPIAIJ,MATSEQAIJ,MATMPIAIJ, MATMPIAIJCUSP, MATSEQAIJCUSP

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

Examples

src/ksp/ksp/examples/tutorials/ex4.c.html