|
dune-istl 2.8.0
|
Loading...
Searching...
No Matches
scalarproducts.hh
Go to the documentation of this file.
240 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...
std::shared_ptr< T > stackobject_to_shared_ptr(T &t)
std::shared_ptr< ScalarProduct< X > > createScalarProduct(const Comm &comm, SolverCategory::Category category)
Definition scalarproducts.hh:240
std::shared_ptr< ScalarProduct< X > > makeScalarProduct(std::shared_ptr< const Comm > comm, SolverCategory::Category category)
Choose the approriate scalar product for a solver category.
Definition scalarproducts.hh:222
T real_type
Base class for scalar product and norm computation.
Definition scalarproducts.hh:50
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:61
virtual SolverCategory::Category category() const
Category of the scalar product (see SolverCategory::Category)
Definition scalarproducts.hh:75
X domain_type
export types, they come from the derived class
Definition scalarproducts.hh:53
virtual ~ScalarProduct()
every abstract base class has a virtual destructor
Definition scalarproducts.hh:81
FieldTraits< field_type >::real_type real_type
Definition scalarproducts.hh:55
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:69
Scalar product for overlapping Schwarz methods.
Definition scalarproducts.hh:97
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:137
virtual SolverCategory::Category category() const override
Category of the scalar product (see SolverCategory::Category)
Definition scalarproducts.hh:153
FieldTraits< field_type >::real_type real_type
Definition scalarproducts.hh:106
C communication_type
The type of the communication object.
Definition scalarproducts.hh:111
ParallelScalarProduct(const communication_type &com, SolverCategory::Category cat)
Definition scalarproducts.hh:128
X domain_type
The type of the vector to compute the scalar product on.
Definition scalarproducts.hh:103
ParallelScalarProduct(std::shared_ptr< const communication_type > com, SolverCategory::Category cat)
Definition scalarproducts.hh:118
X::field_type field_type
The field type used by the vector type domain_type.
Definition scalarproducts.hh:105
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:147
Nonoverlapping Scalar Product with communication object.
Definition scalarproducts.hh:177
NonoverlappingSchwarzScalarProduct(std::shared_ptr< const C > comm)
Definition scalarproducts.hh:179
NonoverlappingSchwarzScalarProduct(const C &comm)
Definition scalarproducts.hh:182
Scalar product for overlapping Schwarz methods.
Definition scalarproducts.hh:199
OverlappingSchwarzScalarProduct(std::shared_ptr< const C > comm)
Definition scalarproducts.hh:201
OverlappingSchwarzScalarProduct(const C &comm)
Definition scalarproducts.hh:204
@ sequential
Category for sequential solvers.
Definition solvercategory.hh:23
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8