#include "petscdmplex.h" PetscErrorCode DMPlexComputeL2DiffLocal(DM dm, PetscReal time, PetscErrorCode (**funcs)(PetscInt, PetscReal, const PetscReal [], PetscInt, PetscScalar *, void *), void **ctxs, Vec localX, PetscReal *diff)Collective on dm
dm | - The DM | |
time | - The time | |
funcs | - The functions to evaluate for each field component | |
ctxs | - Optional array of contexts to pass to each function, or NULL. | |
localX | - The coefficient vector u_h, a local vector |
diff | - The diff ||u - u_h||_2 |