TSComputeExactError#

Compute the solution error for the timestepping using the function previously set.

Synopsis#

#include "petscts.h"  
PetscErrorCode TSComputeExactError(TS ts, Vec u, Vec e)

Collective on ts

Input Parameters#

  • ts - time stepping context

  • u - The approximate solution

  • e - The Vec used to store the error

See Also#

TSGetComputeInitialCondition(), TSSetComputeInitialCondition(), TSSolve()

Level#

advanced

Location#

src/ts/interface/ts.c


Edit on GitLab

Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages