Dune Core Modules (2.7.1)
scalarproducts.hh
Go to the documentation of this file.
203 std::shared_ptr<ScalarProduct<X>> createScalarProduct(const Comm& comm, SolverCategory::Category category)
This file implements a vector space as a tensor product of a given vector space. The number of compon...
Nonoverlapping Scalar Product with communication object.
Definition: scalarproducts.hh:164
Scalar product for overlapping Schwarz methods.
Definition: scalarproducts.hh:183
Scalar product for overlapping Schwarz methods.
Definition: scalarproducts.hh:95
virtual field_type dot(const X &x, const X &y) const override
Dot product of two vectors. It is assumed that the vectors are consistent on the interior+border part...
Definition: scalarproducts.hh:124
virtual SolverCategory::Category category() const override
Category of the scalar product (see SolverCategory::Category)
Definition: scalarproducts.hh:140
C communication_type
The type of the communication object.
Definition: scalarproducts.hh:109
ParallelScalarProduct(const communication_type &com, SolverCategory::Category cat)
Definition: scalarproducts.hh:116
X domain_type
The type of the vector to compute the scalar product on.
Definition: scalarproducts.hh:101
X::field_type field_type
The field type used by the vector type domain_type.
Definition: scalarproducts.hh:103
virtual real_type norm(const X &x) const override
Norm of a right-hand side vector. The vector must be consistent on the interior+border partition.
Definition: scalarproducts.hh:134
Base class for scalar product and norm computation.
Definition: scalarproducts.hh:48
virtual field_type dot(const X &x, const X &y) const
Dot product of two vectors. It is assumed that the vectors are consistent on the interior+border part...
Definition: scalarproducts.hh:59
virtual SolverCategory::Category category() const
Category of the scalar product (see SolverCategory::Category)
Definition: scalarproducts.hh:73
X domain_type
export types, they come from the derived class
Definition: scalarproducts.hh:51
virtual ~ScalarProduct()
every abstract base class has a virtual destructor
Definition: scalarproducts.hh:79
virtual real_type norm(const X &x) const
Norm of a right-hand side vector. The vector must be consistent on the interior+border partition.
Definition: scalarproducts.hh:67
A few common exception classes.
std::shared_ptr< ScalarProduct< X > > createScalarProduct(const Comm &comm, SolverCategory::Category category)
Choose the approriate scalar product for a solver category.
Definition: scalarproducts.hh:203
@ sequential
Category for sequential solvers.
Definition: solvercategory.hh:23
@ nonoverlapping
Category for non-overlapping solvers.
Definition: solvercategory.hh:25
@ overlapping
Category for overlapping solvers.
Definition: solvercategory.hh:27
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)