dune-istl  2.2.0
Public Types | Public Member Functions
Dune::SeqScalarProduct< X > Class Template Reference

Default implementation for the scalar case. More...

#include <dune/istl/scalarproducts.hh>

Inheritance diagram for Dune::SeqScalarProduct< X >:
Dune::ScalarProduct< X >

List of all members.

Public Types

enum  { category = SolverCategory::sequential }
 define the category More...
typedef X domain_type
 export types
typedef X::field_type field_type

Public Member Functions

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

Detailed Description

template<class X>
class Dune::SeqScalarProduct< X >

Default implementation for the scalar case.


Member Typedef Documentation

template<class X >
typedef X Dune::SeqScalarProduct< X >::domain_type

export types

Reimplemented from Dune::ScalarProduct< X >.

template<class X >
typedef X::field_type Dune::SeqScalarProduct< X >::field_type

Reimplemented from Dune::ScalarProduct< X >.


Member Enumeration Documentation

template<class X >
anonymous enum

define the category

Enumerator:
category 

Member Function Documentation

template<class X >
virtual field_type Dune::SeqScalarProduct< X >::dot ( const X &  x,
const X &  y 
) [inline, virtual]

Dot product of two vectors. It is assumed that the vectors are consistent on the interior+border partition.

Implements Dune::ScalarProduct< X >.

template<class X >
virtual double Dune::SeqScalarProduct< X >::norm ( const X &  x) [inline, virtual]

Norm of a right-hand side vector. The vector must be consistent on the interior+border partition.

Implements Dune::ScalarProduct< X >.


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