dune-istl  2.4.1
Public Types | Public Member Functions | List of all members
Dune::SeqScalarProduct< X > Class Template Reference

Default implementation for the scalar case. More...

#include <dune/istl/scalarproducts.hh>

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

Public Types

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

Public Member Functions

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

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

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

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 
)
inlinevirtual

Dot product of two vectors. In the complex case, the first argument is conjugated. 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)
inlinevirtual

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: