petsc-3.8.4 2018-03-24
Report Typos and Errors


set a local boundary value function. This function is called with local vector containing the local vector information PLUS ghost point information. It should insert values into the local vector that do not come from the global vector, such as essential boundary condition data.


#include "petscsnes.h" 
PetscErrorCode DMSNESSetBoundaryLocal(DM dm,PetscErrorCode (*func)(DM,Vec,void*),void *ctx)
Logically Collective

Input Arguments

dm - DM to associate callback with
func - local boundary value evaluation
ctx - optional context for local boundary value evaluation

See Also

DMSNESSetFunctionLocal(), DMDASNESSetJacobianLocal()

Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages