#include "petscmat.h" PetscErrorCode MatSetStencil(Mat mat,PetscInt dim,const PetscInt dims[],const PetscInt starts[],PetscInt dof)Not Collective Many br
mat | - the matrix Many br | |
dim | - dimension of the grid 1, 2, or 3 Many br | |
dims | - number of grid points in x, y, and z direction, including ghost points on your processor Many br | |
starts | - starting point of ghost nodes on your processor in x, y, and z direction Many br | |
dof | - number of degrees of freedom per node Many br |
Inspired by the structured grid interface to the HYPRE package Many br(www.llnl.gov/CASC/hyper) Many br
For matrices generated with DMCreateMatrix() this routine is automatically called and so not needed by the Many bruser. Many br
Many br
Level:beginner
Location:src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages