# DMPlexTSComputeRHSFunctionFVM
Form the local forcing F from the local input X using pointwise functions specified by the user 
## Synopsis
```
#include "petscdmplex.h" 
#include "petscts.h" 
PetscErrorCode DMPlexTSComputeRHSFunctionFVM(DM dm, PetscReal time, Vec locX, Vec F, void *user)
```

## Input Parameters

- ***dm -*** The mesh
- ***t -*** The time
- ***locX  -*** Local solution
- ***user -*** The user context



## Output Parameter

- ***F  -*** Global output vector





## See Also
 [](chapter_ts), `DMPLEX`, `TS`, `DMPlexComputeJacobianActionFEM()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/utils/dmplexts.c.html#DMPlexTSComputeRHSFunctionFVM">src/ts/utils/dmplexts.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex11.c.html">src/ts/tutorials/ex11.c.html</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex11_sa.c.html">src/ts/tutorials/ex11_sa.c.html</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex18.c.html">src/ts/tutorials/ex18.c.html</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex48.c.html">src/ts/tutorials/ex48.c.html</A><BR>


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


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