KASKADE 7 development version
|
Abstract base class of various norms. More...
#include <norm.hh>
Abstract base class of various norms.
This class represents a generic base class for an arbitrary norm of a vector of X's. It also implements certain functions necessary for integrate function in EulerSDC and are dependent on the norm in use.
Vector is usually a vector of type Dune::FieldVector and Matrix is of type Dune::FieldMatrix respectively.
Public Types | |
using | field_type = typename Vector::value_type |
Public Member Functions | |
virtual field_type | value (std::vector< Vector > const &vecs)=0 |
virtual | ~Norm () |
using Kaskade::Norm< Vector >::field_type = typename Vector::value_type |
|
inlinevirtual |
|
pure virtual |
vecs | : the member function value takes in a vector of Vectors and computes its norm. |
Implemented in Kaskade::OneNorm< Vector >, and Kaskade::MaxNorm< Vector >.
Referenced by Kaskade::normVecDiff(), and Kaskade::SDCUtil< Vector, Norm >::sdcContractionFactor().