petsc-master 2020-04-04
Report Typos and Errors

TSGetComputeExactError

Get the function used to automatically compute the exact error for the timestepping.

Synopsis

#include "petscts.h"  
PetscErrorCode TSGetComputeExactError(TS ts, PetscErrorCode (**exactError)(TS, Vec, Vec))
Not collective

Input Argument

ts -time stepping context

Output Argument

exactError -The function which computes the solution error

Notes

The calling sequence for the function is
exactError(TS ts, Vec u)
ts - The timestepping context
u  - The approximate solution vector
e  - The input vector in which the error is stored

See Also

TSGetComputeExactError(), TSComputeExactError()

Level

advanced

Location

src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages