#include "petscdmplex.h" PetscErrorCode DMPlexComputeL2GradientDiff(DM dm, void (**funcs)(const PetscReal [], const PetscReal [], PetscScalar *, void *), void **ctxs, Vec X, const PetscReal n[], PetscReal *diff)
dm | - The DM | |
funcs | - The gradient functions to evaluate for each field component | |
ctxs | - Optional array of contexts to pass to each function, or NULL. | |
X | - The coefficient vector u_h | |
n | - The vector to project along |
Level:developer
Location:src/dm/impls/plex/plexfem.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages