petsc-3.9.4 2018-09-11
Report Typos and Errors

MatMAIJRedimension

Get an MAIJ matrix with the same action, but for a different block size

Synopsis

#include "petscmat.h" 
PetscErrorCode  MatMAIJRedimension(Mat A,PetscInt dof,Mat *B)
Logically Collective

Input Parameter

A - the MAIJ matrix
dof - the block size for the new matrix

Output Parameter

B -the new MAIJ matrix

See Also

MatCreateMAIJ()

Level

advanced

Location

src/mat/impls/maij/maij.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages