#include "petscdmda.h" PetscErrorCode DMDAComputeL2Diff(DM dm, PetscErrorCode (**funcs)(PetscInt, const PetscReal [], PetscInt, PetscScalar *, void *), void **ctxs, Vec X, PetscReal *diff)
dm | - The DM | |
funcs | - The functions to evaluate for each field component | |
ctxs | - Optional array of contexts to pass to each coordinate function. ctxs itself may be null. | |
X | - The coefficient vector u_h |
Level:developer
Location:src/dm/impls/da/dalocal.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages