PermonMatSetFromOptions

The same as MatSetFromOptions but converts the matrix if the type has been already set.

Synopsis

PetscErrorCode  PermonMatSetFromOptions(Mat B)
Collective on Mat

Input Parameter

A - the matrix

Options Database Keys

-mat_type seqaij - AIJ type, uses MatCreateSeqAIJ()
-mat_type mpiaij - AIJ type, uses MatCreateAIJ()
-mat_type seqdense - dense type, uses MatCreateSeqDense()
-mat_type mpidense - dense type, uses MatCreateDense()
-mat_type seqbaij - block AIJ type, uses MatCreateSeqBAIJ()
-mat_type mpibaij - block AIJ type, uses MatCreateBAIJ()

Even More Options Database Keys

See the manpages for particular formats (e.g., MatCreateSeqAIJ()) for additional format-specific options.

Keywords

matrix, create

See Also

MatCreateSeqAIJ((), MatCreateAIJ(),
MatCreateSeqDense(), MatCreateDense(), MatCreateSeqBAIJ(), MatCreateBAIJ(), MatCreateSeqSBAIJ(), MatCreateSBAIJ(), MatConvert()

Level

beginner

Location

src/mat/interface/permonmatutils.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages