# DMPlexSNESComputeBoundaryFEM
Form the boundary values for the local input X 
## Synopsis
```
#include "petscdmplex.h" 
#include "petscsnes.h"   
PetscErrorCode DMPlexSNESComputeBoundaryFEM(DM dm, Vec X, void *user)
```

## Input Parameters

- ***dm -*** The mesh
- ***user -*** The user context



## Output Parameter

- ***X  -*** Local solution





## See Also
 `DMPLEX`, `DMPlexComputeJacobianAction()`

## Level
developer

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/utils/dmplexsnes.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)  
