dune-istl  2.2.1
Public Types | Public Member Functions | List of all members
Dune::NonoverlappingSchwarzScalarProduct< X, C > Class Template Reference

Nonoverlapping Scalar Product with communication object. More...

#include <dune/istl/novlpschwarz.hh>

Inheritance diagram for Dune::NonoverlappingSchwarzScalarProduct< X, C >:
Dune::ScalarProduct< X >

Public Types

enum  { category = SolverCategory::nonoverlapping }
 define the category More...
typedef X domain_type
 The type of the domain.
typedef X::field_type field_type
 The type of the range.
typedef C communication_type
 The type of the communication object.

Public Member Functions

 NonoverlappingSchwarzScalarProduct (const communication_type &com)
 Constructor.
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.
void make_consistent (X &x) const
 make additive vector consistent

Detailed Description

template<class X, class C>
class Dune::NonoverlappingSchwarzScalarProduct< X, C >

Nonoverlapping Scalar Product with communication object.

Consistent vectors in interior and border are assumed.

Member Typedef Documentation

template<class X , class C >
typedef C Dune::NonoverlappingSchwarzScalarProduct< X, C >::communication_type

The type of the communication object.

template<class X , class C >
typedef X Dune::NonoverlappingSchwarzScalarProduct< X, C >::domain_type

The type of the domain.

template<class X , class C >
typedef X::field_type Dune::NonoverlappingSchwarzScalarProduct< X, C >::field_type

The type of the range.

Member Enumeration Documentation

template<class X , class C >
anonymous enum

define the category

Enumerator:
category 

Constructor & Destructor Documentation

template<class X , class C >
Dune::NonoverlappingSchwarzScalarProduct< X, C >::NonoverlappingSchwarzScalarProduct ( const communication_type com)
inline

Constructor.

Parameters
comThe communication object for syncing owner and copy data points. (E.~g. OwnerOverlapCommunication )

Member Function Documentation

template<class X , class C >
virtual field_type Dune::NonoverlappingSchwarzScalarProduct< X, C >::dot ( const X &  x,
const X &  y 
)
inlinevirtual

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 , class C >
void Dune::NonoverlappingSchwarzScalarProduct< X, C >::make_consistent ( X &  x) const
inline

make additive vector consistent

template<class X , class C >
virtual double Dune::NonoverlappingSchwarzScalarProduct< X, C >::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: