DMPlexComputeL2FluxDiffVec#
This function computes the integral of the difference between the gradient of field f
in u
and field mf
in mu
Synopsis#
#include "petscdmplex.h"
PetscErrorCode DMPlexComputeL2FluxDiffVec(Vec u, PetscInt f, Vec mu, PetscInt mf, Vec eFlux)
Collective
Input Parameters#
Output Parameter#
eFlux - A global
Vec
which holds \(||\nabla u_f - \mu_{mf}||\)
Notes#
We assume that the DM
for each solution has the same topology, geometry, and quadrature.
This is usually used to get an error estimate for the primal solution, using the flux from a mixed solution.
See Also#
DMPlex: Unstructured Grids, DM
, DMPLEX
, DMPlexComputeL2FluxDiffVecLocal()
, DMProjectFunction()
, DMComputeL2Diff()
, DMPlexComputeL2FieldDiff()
, DMComputeL2GradientDiff()
Level#
advanced
Location#
Examples#
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages