Dune::ScalarProduct< X > Class Template Reference
[Scalar products]

#include <scalarproducts.hh>

Inheritance diagram for Dune::ScalarProduct< X >:

Dune::OverlappingSchwarzScalarProduct< X, C > Dune::SeqScalarProduct< X >

List of all members.


Detailed Description

template<class X>
class Dune::ScalarProduct< X >

Base class for scalar product and norm computation.

Krylov space methods need to compute scalar products and norms (for convergence test only). These methods have to know about the underlying data decomposition. For the sequential case a default implementation is provided.

Public Types

typedef X domain_type
 export types, they come from the derived class

Public Member Functions

virtual field_type dot (const X &x, const X &y)=0
 Dot product of two vectors. It is assumed that the vectors are consistent on the interior+border partition.
virtual double norm (const X &x)=0
 Norm of a right-hand side vector. The vector must be consistent on the interior+border partition.
virtual ~ScalarProduct ()
 every abstract base class has a virtual destructor


The documentation for this class was generated from the following file:

Generated on Sun Nov 15 22:29:46 2009 for dune-istl by  doxygen 1.5.6