Dune Core Modules (2.3.1)
scalarproducts.hh
Go to the documentation of this file.
83 };
Base class for scalar product and norm computation.
Definition: scalarproducts.hh:43
virtual field_type dot(const X &x, const X &y)=0
Dot product of two vectors. It is assumed that the vectors are consistent on the interior+border part...
X domain_type
export types, they come from the derived class
Definition: scalarproducts.hh:46
virtual ~ScalarProduct()
every abstract base class has a virtual destructor
Definition: scalarproducts.hh:62
virtual double norm(const X &x)=0
Norm of a right-hand side vector. The vector must be consistent on the interior+border partition.
virtual field_type dot(const X &x, const X &y)
Dot product of two vectors. In the complex case, the first argument is conjugated....
Definition: scalarproducts.hh:108
virtual double norm(const X &x)
Norm of a right-hand side vector. The vector must be consistent on the interior+border partition.
Definition: scalarproducts.hh:116
Choose the approriate scalar product for a solver category.
Definition: scalarproducts.hh:76
C communication_type
The type of the communication object.
Definition: scalarproducts.hh:78
@ solverCategory
The solver category.
Definition: scalarproducts.hh:82
@ sequential
Category for sequential solvers.
Definition: solvercategory.hh:22
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)