GridSetMatBoundary

his function sets Dirchlet boundary conditions on the linear system matrix arising from the underlying grid.

Synopsis

#include "grid.h" 
#include "gvec.h" 
int GridSetMatBoundary(int bd, int field, PetscScalar diag, GMat A, void *ctx)
Collective on GMat

Input Parameters

bd - The marker for the boundary to apply conditions along
field - The field to which the conditions apply
diag - The scalar to be placed on the diagonal
ctx - The user-supplied context

Output Parameter

A -The system matrix

Keywords

boundary conditions, finite element

See Also

MeshGetBoundaryStart

Level:advanced
Location:
src/grid/interface/gridBC.c
Index of all Grid routines
Table of Contents for all manual pages
Index of all manual pages