# DMSNESGetBoundaryLocal
get the local boundary value function set with `DMSNESSetBoundaryLocal()`. 
## Synopsis
```
#include "petscsnes.h" 
PetscErrorCode DMSNESGetBoundaryLocal(DM dm, PetscErrorCode (**func)(DM, Vec, void *), void **ctx)
```
Not Collective


## Input Parameter

- ***dm -*** `DM` with the associated callback



## Output Parameters

- ***func -*** local boundary value evaluation
- ***ctx -*** context for local boundary value evaluation





## See Also
 `DMSNESSetFunctionLocal()`, `DMSNESSetBoundaryLocal()`, `DMDASNESSetJacobianLocal()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/utils/dmlocalsnes.c.html#DMSNESGetBoundaryLocal">src/snes/utils/dmlocalsnes.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/utils/dmlocalsnes.c)


[Index of all SNES routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
