dune-istl  2.4.1
Public Types | List of all members
Dune::ScalarProductChooser< X, C, c > Struct Template Reference

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

#include <dune/istl/scalarproducts.hh>

Public Types

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

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.


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