GridSetMatPointBoundary

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

Synopsis

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

Input Parameters

node - The constrained node
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