dune-istl
2.5-git
|
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 vector to compute the scalar product on. More... | |
typedef X::field_type | field_type |
The field type used by the vector type domain_type. More... | |
typedef FieldTraits< field_type >::real_type | real_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. 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... | |
Scalar product for overlapping schwarz methods.
Consistent vectors in interior and border are assumed.
X | The type of the sequential vector to use for the left hand side, e.g. BlockVector or another type fulfilling the ISTL vector interface. |
C | The type of the communication object. This must either be OwnerOverlapCopyCommunication or a type implementing the same interface. |
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.
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.
typedef X::field_type Dune::OverlappingSchwarzScalarProduct< X, C >::field_type |
The field type used by the vector type domain_type.
typedef FieldTraits<field_type>::real_type Dune::OverlappingSchwarzScalarProduct< X, C >::real_type |
|
inline |
Constructor needs to know the grid.
com | The communication object for syncing overlap and copy data points. (E.~g. OwnerOverlapCopyCommunication ) |
|
inlinevirtual |
Dot product of two vectors. It is assumed that the vectors are consistent on the interior+border partition.
Implements Dune::ScalarProduct< X >.
|
inlinevirtual |
Norm of a right-hand side vector. The vector must be consistent on the interior+border partition.
Implements Dune::ScalarProduct< X >.