GridSetMatPointBoundaryRectangular

his function sets Dirchlet boundary conditions on the linear system matrix arising from the underlying grid, and the default variable ordering can be overridden.

Synopsis

#include "grid.h" 
#include "gvec.h" 
int GridSetMatPointBoundaryRectangular(int node, int field, PetscScalar diag, VarOrdering order, 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
order - The test variable ordering
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