dune-istl
2.2.0
|
Scalar product for overlapping schwarz methods. More...
#include <dune/istl/schwarz.hh>
Public Types | |
enum | { category = SolverCategory::overlapping } |
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 | |
OverlappingSchwarzScalarProduct (const communication_type &com) | |
Constructor needs to know the grid. | |
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. |
Scalar product for overlapping schwarz methods.
Consistent vectors in interior and border are assumed.
typedef C Dune::OverlappingSchwarzScalarProduct< X, C >::communication_type |
The type of the communication object.
typedef X Dune::OverlappingSchwarzScalarProduct< X, C >::domain_type |
The type of the domain.
Reimplemented from Dune::ScalarProduct< X >.
typedef X::field_type Dune::OverlappingSchwarzScalarProduct< X, C >::field_type |
The type of the range.
Reimplemented from Dune::ScalarProduct< X >.
Dune::OverlappingSchwarzScalarProduct< X, C >::OverlappingSchwarzScalarProduct | ( | const communication_type & | com | ) | [inline] |
Constructor needs to know the grid.
com | The communication object for syncing overlap and copy data points. (E.~g. OwnerOverlapCommunication ) |
virtual field_type Dune::OverlappingSchwarzScalarProduct< X, C >::dot | ( | const X & | x, |
const X & | y | ||
) | [inline, virtual] |
Dot product of two vectors. It is assumed that the vectors are consistent on the interior+border partition.
Implements Dune::ScalarProduct< X >.
virtual double Dune::OverlappingSchwarzScalarProduct< X, C >::norm | ( | const X & | x | ) | [inline, virtual] |
Norm of a right-hand side vector. The vector must be consistent on the interior+border partition.
Implements Dune::ScalarProduct< X >.