Dune::ScalarProductChooser< X, C, c > Struct Template Reference
[Scalar products]

Choose the approriate scalar product for a solver category. More...

#include <dune/istl/scalarproducts.hh>

List of all members.

Public Types

enum  { solverCategory = c }
typedef C communication_type
 The type of the communication object.

Detailed Description

template<class X, class C, int c>
struct Dune::ScalarProductChooser< X, C, c >

Choose the approriate scalar product for a solver category.

As there is only one scalar product for each solver category it is possible to choose the appropriate product at compile time.

In each specialization of the this struct there will be a typedef ScalarProduct available the defines the type of the scalar product.


Member Typedef Documentation

template<class X , class C , int c>
typedef C Dune::ScalarProductChooser< X, C, c >::communication_type

The type of the communication object.


Member Enumeration Documentation

template<class X , class C , int c>
anonymous enum
Enumerator:
solverCategory 

The solver category.


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

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].