petsc-3.7.1 2016-05-15
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 Many br
Input Parameters
mat -the composite matrix Many br
Many br
Notes
The MatType of the resulting matrix will be the same as the MatType of the FIRST Many brmatrix in the composite matrix. Many br
See Also
MatDestroy(), MatMult(), MatCompositeAddMat(), MatCreateComposite(), MATCOMPOSITE
Level:advanced
Location:src/mat/impls/composite/mcomposite.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/mat/examples/tutorials/ex9.c.html