MatSetType
Builds matrix object for a particular matrix type
Synopsis
#include "petscmat.h"
int MatSetType(Mat mat,MatType matype)
Collective on Mat
Input Parameters
| mat | - the matrix object
|
| matype | - matrix type
|
Options Database Key
-mat_type <method> -Sets the type; use -help for a list
of available methods (for instance, seqaij)
Notes
See "${PETSC_DIR}/include/petscmat.h" for available methods
Keywords
Mat, set, method
See Also
PCSetType(), VecSetType(), MatCreate(), MatType, Mat
Level:intermediate
Location:src/mat/interface/matreg.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages