petsc-3.7.3 2016-08-01
MatStencil
Data structure (C struct) for storing information about a single row or column of a matrix as indexed on an associated grid.
Synopsis
typedef struct {
PetscInt k,j,i,c;
} MatStencil;
Fortran usage is different, see MatSetValuesStencil() for details.
See Also
MatSetValuesStencil(), MatSetStencil(), MatSetValuesBlockedStencil()
Level:beginner
Location:src/mat/../../include/petscmat.h
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/ksp/ksp/examples/tutorials/ex28.c.html