PetscConvEstUseTS#

Configure a PetscConvEst object to use a TS solver for a convergence study

Synopsis#

#include "petscconvest.h" 
PetscErrorCode PetscConvEstUseTS(PetscConvEst ce, PetscBool checkTemporal)

Not Collective

Input Parameters#

  • ce - the convergence estimator

  • checkTemporal - PETSC_TRUE to run a temporal convergence study (refining the time step), PETSC_FALSE to run a spatial convergence study (refining the mesh)

Note#

This installs the appropriate callbacks on ce so that the enclosed TS solver is run at each refinement level and the resulting errors are used to estimate the observed convergence rate.

See Also#

TS: Scalable ODE and DAE Solvers, PetscConvEst, TS, PetscConvEstGetConvRate()

Level#

intermediate

Location#

src/ts/utils/tsconvest.c


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