Dune Core Modules (2.6.0)

Dune::OverlappingSchwarzScalarProduct< X, C > Class Template Reference

Scalar product for overlapping schwarz methods. More...

#include <dune/istl/scalarproducts.hh>

Public Types

typedef X domain_type
 The type of the vector to compute the scalar product on. More...
 
typedef X::field_type field_type
 The field type used by the vector type domain_type.
 
typedef C communication_type
 The type of the communication object. More...
 

Public Member Functions

 OverlappingSchwarzScalarProduct (const communication_type &com)
 Constructor needs to know the grid. More...
 
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 real_type norm (const X &x)
 Norm of a right-hand side vector. The vector must be consistent on the interior+border partition.
 
virtual SolverCategory::Category category () const
 Category of the scalar product (see SolverCategory::Category)
 

Detailed Description

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

Scalar product for overlapping schwarz methods.

Consistent vectors in interior and border are assumed.

Template Parameters
XThe type of the sequential vector to use for the left hand side, e.g. BlockVector or another type fulfilling the ISTL vector interface.
CThe type of the communication object. This must either be OwnerOverlapCopyCommunication or a type implementing the same interface.

Member Typedef Documentation

◆ communication_type

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

The type of the communication object.

This must either be OwnerOverlapCopyCommunication or a type implementing the same interface.

◆ domain_type

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

The type of the vector to compute the scalar product on.

E.g. BlockVector or another type fulfilling the ISTL vector interface.

Constructor & Destructor Documentation

◆ OverlappingSchwarzScalarProduct()

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

Constructor needs to know the grid.

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

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 26, 23:30, 2024)