MatCompositeSetMatStructure#
Indicates structure of matrices in the composite matrix.
Synopsis#
#include "petscmat.h"
PetscErrorCode MatCompositeSetMatStructure(Mat mat, MatStructure str)
Not Collective
Input Parameters#
mat - the composite matrix
str - either
SAME_NONZERO_PATTERN
,DIFFERENT_NONZERO_PATTERN
(default) orSUBSET_NONZERO_PATTERN
Note#
Information about the matrices structure is used in MatCompositeMerge()
for additive composite matrix.
See Also#
Matrices, Mat
, MatAXPY()
, MatCreateComposite()
, MatCompositeMerge()
MatCompositeGetMatStructure()
, MATCOMPOSITE
Level#
advanced
Location#
Examples#
Implementations#
MatCompositeSetMatStructure_Composite() in src/mat/impls/composite/mcomposite.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages