GMatSetBoundary

Applies the specified Dirichlet boundary conditions to this matrix.

Synopsis

#include "gvec.h" 
int GMatSetBoundary(GMat M, PetscScalar diag, void *ctx)

Input Parameter

M -The grid matrix
diag -The scalar to place on the diagonal
ctx -An optional user provided context for the function

See Also

GridSetBC(), GridAddBC()

Level:intermediate
Location:
src/gvec/interface/gmat.c
Index of all GVec routines
Table of Contents for all manual pages
Index of all manual pages