petsc-3.14.6 2021-03-30
DMPlexTSComputeIFunctionFEM
Form the local residual F from the local input X using pointwise functions specified by the user
Synopsis
#include "petscdmplex.h"
#include "petscts.h"
PetscErrorCode DMPlexTSComputeIFunctionFEM(DM dm, PetscReal time, Vec locX, Vec locX_t, Vec locF, void *user)
Input Parameters
| dm | - The mesh
|
| t | - The time
|
| locX | - Local solution
|
| locX_t | - Local solution time derivative, or NULL
|
| user | - The user context
|
Output Parameter
| locF | - Local output vector
|
See Also
DMPlexComputeJacobianActionFEM()
Level
developer
Location
src/ts/utils/dmplexts.c
Examples
src/ts/tutorials/ex45.c.html
src/ts/tutorials/ex46.c.html
src/ts/tutorials/ex48.c.html
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages