SNESSetRhsBC
Sets the function which applies boundary conditions to the Rhs of each system.
Synopsis
#include "petscsnes.h"
int SNESSetRhsBC(SNES snes, int (*func)(SNES, Vec, void *))
Collective on SNES
Input Parameters
snes -The nonlinear solver context
func -The function
Calling sequence of func
func (SNES snes, Vec rhs, void *ctx); -
rhs -The current rhs vector
ctx -The user-context
Keywords
SNES, Rhs, boundary conditions
See Also
SNESDefaultRhsBC(), SNESSetSolutionBC(), SNESSetUpdate()
Level:intermediate
Location:src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages