Dune Core Modules (2.6.0)

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

Nonoverlapping Scalar Product with communication object. More...

#include <dune/istl/scalarproducts.hh>

Public Types

typedef X domain_type
 The type of the domain.
 
typedef X::field_type field_type
 The type of the range.
 
typedef FieldTraits< field_type >::real_type real_type
 The real-type of the range.
 
typedef C communication_type
 The type of the communication object.
 

Public Member Functions

 NonoverlappingSchwarzScalarProduct (const communication_type &com)
 Constructor. 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)
 
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.

Constructor & Destructor Documentation

◆ NonoverlappingSchwarzScalarProduct()

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 )

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)