Public Member Functions | |
| virtual Array< double > | computeNorms (const ForwardProblemTestBase *prob, int meshIndex, const Expr &numSoln, const Expr &exactSoln) const =0 |
Base class for objects that compute error norms.
Definition at line 252 of file SundanceProblemTesting.hpp.
| virtual Array<double> Sundance::ErrNormCalculatorBase::computeNorms | ( | const ForwardProblemTestBase * | prob, |
| int | meshIndex, | ||
| const Expr & | numSoln, | ||
| const Expr & | exactSoln | ||
| ) | const [pure virtual] |
Compute the error norm. In vector-valued problems we may need to compute multiple norms, so the return type is an array.
Implemented in Sundance::L2NormCalculator.