#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMComputeL2Diff(DM dm, PetscReal time, PetscErrorCode (**funcs)(PetscInt, PetscReal, const PetscReal [], PetscInt, PetscScalar *, void *), void **ctxs, Vec X, PetscReal *diff)
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. | |
X | - The coefficient vector u_h |
Level:developer
Location:src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages