DMPlexTSComputeRHSFunctionFEM#

Form the local residual locG from the local input locX using pointwise functions specified by the user

Synopsis#

#include "petscdmplex.h" 
#include "petscts.h" 
PetscErrorCode DMPlexTSComputeRHSFunctionFEM(DM dm, PetscReal time, Vec locX, Vec locG, void *user)

Input Parameters#

  • dm - The mesh

  • time - The time

  • locX - Local solution

  • user - The user context

Output Parameter#

  • locG - Local output vector

See Also#

TS: Scalable ODE and DAE Solvers, TS, DM, DMPlexTSComputeIFunctionFEM(), DMPlexTSComputeIJacobianFEM()

Level#

developer

Location#

src/ts/utils/dmplexts.c

Examples#

src/ts/tutorials/ex45.c


Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages