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