:orphan:
# DMPlexTSComputeRHSFunctionFVM
Form the forcing `F` from the local input `locX` 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
[](ch_ts), `DMPLEX`, `TS`, `DMPlexComputeJacobianActionFEM()`
## Level
developer
## Location
src/ts/utils/dmplexts.c
## Examples
src/ts/tutorials/ex11.c
src/ts/tutorials/ex11_sa.c
src/ts/tutorials/ex18.c
---
[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](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)