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
PetscConvEstobjectr - the refinement level
dm - the
DMon whichuis defined (may beNULL)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#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages