dune-istl
2.3beta2
|
Default implementation for the scalar case. More...
#include <dune/istl/scalarproducts.hh>
Public Types | |
enum | { category = SolverCategory::sequential } |
define the category More... | |
typedef X | domain_type |
export types | |
typedef X::field_type | field_type |
Public Member Functions | |
virtual field_type | dot (const X &x, const X &y) |
Dot product of two vectors. In the complex case, the first argument is conjugated. 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. |
Default implementation for the scalar case.
typedef X Dune::SeqScalarProduct< X >::domain_type |
export types
typedef X::field_type Dune::SeqScalarProduct< X >::field_type |
|
inlinevirtual |
Dot product of two vectors. In the complex case, the first argument is conjugated. 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 >.