petsc-3.11.4 2019-09-28
MatCompositeSetType
Indicates if the matrix is defined as the sum of a set of matrices or the product
Synopsis
#include "petscmat.h"
PetscErrorCode MatCompositeSetType(Mat mat,MatCompositeType type)
Collective on MPI_Comm
Input Parameters
mat -the composite matrix
Notes
The MatType of the resulting matrix will be the same as the MatType of the FIRST
matrix in the composite matrix.
See Also
MatDestroy(), MatMult(), MatCompositeAddMat(), MatCreateComposite(), MATCOMPOSITE
Level
advanced
Location
src/mat/impls/composite/mcomposite.c
Examples
src/mat/examples/tutorials/ex9.c.html
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages