MatCreateMAIJ#
Creates a matrix type providing restriction and interpolation operations for multicomponent problems. It interpolates each component the same way independently. The matrix type is based on MATSEQAIJ
for sequential matrices, and MATMPIAIJ
for distributed matrices.
Synopsis#
#include "petscmat.h"
PetscErrorCode MatCreateMAIJ(Mat A, PetscInt dof, Mat *maij)
Collective
Input Parameters#
A - the
MATAIJ
matrix describing the action on blocksdof - the block size (number of components per node)
Output Parameter#
maij - the new
MATMAIJ
matrix
Operations provided#
See Also#
Matrices, Mat
, MATAIJ
, MATMAIJ
, MatMAIJGetAIJ()
, MatMAIJRedimension()
, MATMAIJ
Level#
advanced
Location#
Examples#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages