GridSetBC

his function sets the boundary condition to use for the problem.

Synopsis

#include "grid.h" 
#include "gvec.h" 
int GridSetBC(Grid grid, int bd, int field, PointFunction f, PetscTruth reduce)
Collective on Grid

Input Parameters

grid - The grid
bd - The marker for the boundary along which conditions are applied
field - The field to which the boundary condition is applied
f - The function which defines the boundary condition
reduce - The flag for explicit reduction of the system

Keywords

active field

See Also

GridAddBC, GridAddMatOperator, GridAddRhsOperator, GridSetRhsFunction

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