DMPlexComputeCellwiseIntegralFEM#

Form the vector of cellwise integrals F from the global input X using pointwise functions specified by the user

Synopsis#

#include "petscdmplex.h"   
PetscErrorCode DMPlexComputeCellwiseIntegralFEM(DM dm, Vec X, Vec F, void *user)

Input Parameters#

  • dm - The mesh

  • X - Global input vector

  • user - The user context

Output Parameter#

  • integral - Cellwise integrals for each field

See Also#

DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexSNESComputeResidualFEM()

Level#

developer

Location#

src/dm/impls/plex/plexfem.c

Examples#

src/snes/tutorials/ex13.c


Edit on GitLab

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