DMPlexComputeBdResidualSingleByKey#
Compute the local boundary residual for terms matching the input key
Synopsis#
#include "petscdmplex.h"
PetscErrorCode DMPlexComputeBdResidualSingleByKey(DM dm, PetscWeakForm wf, PetscFormKey key, IS facetIS, Vec locX, Vec locX_t, PetscReal t, DMField coordField, Vec locF)
Not collective
Input Parameters#
dm - The output
DMwf - The
PetscWeakFormholding forms on this boundarykey - The
PetscFormKeyindicating what should be integratedfacetIS - The
ISgiving a set of faces to integrate overlocX - The local solution
locX_t - The time derivative of the local solution, or
NULLfor time-independent problemst - The time
coordField - The
DMFieldobject with coordinates for these faces
Output Parameter#
locF - The local residual
See Also#
DMPlexComputeBdResidualSingle(), DMPlexComputeJacobianByKey(), DMPlexComputeResidualHybridByKey(), DMPlexComputeJacobianHybridByKey(), PetscFormKey
Level#
developer
Location#
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages