#include "petscdmplex.h" PetscErrorCode DMPlexProjectFunction(DM dm, PetscErrorCode (**funcs)(PetscInt, const PetscReal [], PetscInt, PetscScalar *, void *), void **ctxs, InsertMode mode, Vec X)
dm | - The DM | |
funcs | - The coordinate functions to evaluate, one per field | |
ctxs | - Optional array of contexts to pass to each coordinate function. ctxs itself may be null. | |
mode | - The insertion mode for values |
func(PetscInt dim, const PetscReal x[], PetscInt Nf, PetscScalar u[], void *ctx);
dim | - The spatial dimension | |
x | - The coordinates | |
Nf | - The number of fields | |
u | - The output field values | |
ctx | - optional user-defined function context |
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