dune-istl  2.8.0
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

typedef X domain_type
 export types, they come from the derived class More...
 
typedef X::field_type field_type
 
typedef FieldTraits< field_type >::real_type real_type
 

Public Member Functions

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

Detailed Description

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

Default implementation for the scalar case.

Member Typedef Documentation

◆ domain_type

template<class X >
typedef X Dune::ScalarProduct< X >::domain_type
inherited

export types, they come from the derived class

◆ field_type

template<class X >
typedef X::field_type Dune::ScalarProduct< X >::field_type
inherited

◆ real_type

template<class X >
typedef FieldTraits<field_type>::real_type Dune::ScalarProduct< X >::real_type
inherited

Member Function Documentation

◆ category()

template<class X >
virtual SolverCategory::Category Dune::ScalarProduct< X >::category ( ) const
inlinevirtualinherited

Category of the scalar product (see SolverCategory::Category)

Reimplemented in Dune::ParallelScalarProduct< X, C >.

◆ dot()

template<class X >
virtual field_type Dune::ScalarProduct< X >::dot ( const X &  x,
const X &  y 
) const
inlinevirtualinherited

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

Reimplemented in Dune::ParallelScalarProduct< X, C >.

◆ norm()

template<class X >
virtual real_type Dune::ScalarProduct< X >::norm ( const X &  x) const
inlinevirtualinherited

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

Reimplemented in Dune::ParallelScalarProduct< X, C >.


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