Sundance::ErrNormCalculatorBase Class Reference

Inheritance diagram for Sundance::ErrNormCalculatorBase:


List of all members.

Public Member Functions

virtual Array< double > computeNorms (const ForwardProblemTestBase *prob, int meshIndex, const Expr &numSoln, const Expr &exactSoln) const =0

Detailed Description

Base class for objects that compute error norms.

Definition at line 241 of file SundanceProblemTesting.hpp.

Member Function Documentation

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.

Site Contact