DMPlexComputeIntegralFEM#
Form the integral over the domain from the global input X using pointwise functions specified by the user
Synopsis#
#include "petscdmplex.h"
PetscErrorCode DMPlexComputeIntegralFEM(DM dm, Vec X, PetscScalar *integral, PetscCtx ctx)
Input Parameters#
dm - The mesh
X - Global input vector
ctx - The application context
Output Parameter#
integral - Integral for each field
See Also#
DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexSNESComputeResidualFEM()
Level#
developer
Location#
Examples#
src/dm/dt/fe/tests/ex4.c
src/dm/impls/plex/tests/ex33.c
src/dm/impls/plex/tests/ex72.c
src/dm/impls/plex/tests/ex73.c
src/dm/impls/plex/tests/ex99.c
src/dm/impls/swarm/tests/ex11.c
src/dm/impls/swarm/tests/ex2.c
src/snes/tutorials/ex11.c
src/snes/tutorials/ex69.c
src/ts/tutorials/ex30.c
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages