petsc-3.3-p7 2013-05-11

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
src/snes/examples/tutorials/ex35.c.html