dune-istl  2.6-git
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 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)
 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 real_type norm (const X &x)
 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::SeqScalarProduct< X >::domain_type

export types

◆ field_type

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

◆ real_type

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

Member Function Documentation

◆ category()

template<class X >
virtual SolverCategory::Category Dune::SeqScalarProduct< X >::category ( ) const
inlinevirtual

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

Implements Dune::ScalarProduct< X >.

◆ dot()

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 >.

◆ norm()

template<class X >
virtual real_type 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: