DMSNESCheckDiscretization#
Check the discretization error of the exact solution
Synopsis#
#include "petscdmplex.h"
#include "petscsnes.h"
PetscErrorCode DMSNESCheckDiscretization(SNES snes, DM dm, PetscReal t, Vec u, PetscReal tol, PetscReal error[])
Input Parameters#
Output Parameter#
error - An array which holds the discretization error in each field, or
NULL
Note#
The user must call PetscDSSetExactSolution()
beforehand
Developer Note#
How is this related to PetscConvEst
?
See Also#
SNES: Nonlinear Solvers, PetscDSSetExactSolution()
, DNSNESCheckFromOptions()
, DMSNESCheckResidual()
, DMSNESCheckJacobian()
Level#
developer
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages