PetscConvEstComputeError#

Compute per-field discretization errors of u on refinement level r

Synopsis#

#include "petscconvest.h" 
PetscErrorCode PetscConvEstComputeError(PetscConvEst ce, PetscInt r, DM dm, Vec u, PetscReal errors[])

Collective

Input Parameters#

  • ce - the PetscConvEst object

  • r - the refinement level

  • dm - the DM on which u is defined (may be NULL)

  • u - the computed solution

Output Parameter#

  • errors - array of length Nf (number of fields in the DS) filled with the error in each field

See Also#

PetscConvEst, PetscConvEstComputeInitialGuess(), PetscConvEstGetConvRate()

Level#

developer

Location#

src/snes/utils/convest.c


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