SundanceProblemTesting.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  Sundance

Functions

bool Sundance::checkErrorNorms (const Mesh &mesh, const CellFilter &filter, const Expr &numSoln, const Expr &exactSoln, const QuadratureFamily &quad, double L2Tol, double H1SemiTol, double H1Tol)
 This function checks the L2 and H1 norms and the H1 seminorm of an error against a specified tolerance.
double Sundance::fitPower (const Array< double > &h, const Array< double > &err)
 Compute the exponent $p$ that best fits the measured errors to a power law $\epsilon=A h^p$.

Site Contact