petsc-3.13.6 2020-09-29
Report Typos and Errors

MatStructure

Indicates if two matrices have the same nonzero structure

Synopsis

typedef enum {DIFFERENT_NONZERO_PATTERN,SUBSET_NONZERO_PATTERN,SAME_NONZERO_PATTERN} MatStructure;

Any additions/changes here MUST also be made in include/petsc/finclude/petscmat.h

See Also

MatCopy(), MatAXPY()

Level

beginner

Location

src/mat/../../include/petscmat.h

Examples

src/mat/tutorials/ex9.c.html
src/ksp/ksp/tutorials/ex9.c.html
src/ksp/ksp/tutorials/ex29.c.html
src/ksp/ksp/tutorials/ex34.c.html
src/ts/tutorials/ex3.c.html
src/ts/tutorials/ex50.c.html
src/tao/unconstrained/tutorials/spectraladjointassimilation.c.html
src/tao/pde_constrained/tutorials/elliptic.c.html
src/tao/pde_constrained/tutorials/parabolic.c.html
src/tao/pde_constrained/tutorials/hyperbolic.c.html
src/tao/tutorials/ex4.c.html

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages