#include "petscts.h" PetscErrorCode TSSetComputeExactError(TS ts, PetscErrorCode (*exactError)(TS, Vec, Vec))Logically collective on ts
ts | - time stepping context | |
exactError | - The function which computes the solution error |
PetscErrorCode exactError(TS ts, Vec u)
ts | - The timestepping context | |
u | - The approximate solution vector | |
e | - The input vector in which the error is stored |