GVecSetBoundaryZero

Applies a Dirichlet boundary condition of zero to the specified fields in this vector. This is mainly used to double up the boundary conditions in a time dependent nonlinear problem. The original boundary condition is used to initialize the solution at the start of the Newton iteration, and this is used to set the corresponding components of the residual to zero.

Synopsis

#include "gvec.h" 
int GVecSetBoundaryZero(GVec v, void *ctx)

Input Parameter

v -The grid vector
ctx -An optional user provided context for the function

See Also

GridSetBC(), GridAddBC()

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