#include "petscdmplex.h" #include "petscts.h" PetscErrorCode DMTSCheckFromOptions(TS ts, Vec u, PetscErrorCode (**exactFuncs)(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nf, PetscScalar *u, void *ctx), void **ctxs)
ts | - the TS object | |
u | - representative TS vector | |
exactFuncs | - pointwise functions of the exact solution for each field | |
ctxs | - contexts for the functions |