This function computes the L_2 difference between a function u and an FEM interpolant solution u_h, separated into field components.
Collective on dm
dm - The
time - The time
funcs - The 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, a global vector
diff - The array of differences, ||u^f - u^f_h||_2
This API is specific to only particular usage of
The notes need to provide some information about what has to be provided to the
DM to be able to perform the computation.
DMComputeL2FieldDiff_pforest(DM dm, PetscReal time, PetscErrorCode (**funcs) in src/dm/impls/forest/p4est/pforest.h
DMComputeL2FieldDiff_Plex(DM dm, PetscReal time, PetscErrorCode (**funcs) in src/dm/impls/plex/plexfem.c