dune-istl
2.5.0
|
A linear operator scaling vectors by a scalar value. The scalar value can be changed as it is given in a form decomposed into an immutable and a mutable part. More...
#include <dune/istl/eigenvalue/poweriteration.hh>
Public Types | |
enum | { category = Dune::SolverCategory::sequential } |
typedef X | domain_type |
typedef Y | range_type |
typedef X::field_type | field_type |
Public Member Functions | |
ScalingLinearOperator (field_type immutable_scaling, const field_type &mutable_scaling) | |
virtual void | apply (const X &x, Y &y) const |
apply operator to x: ![]() | |
virtual void | applyscaleadd (field_type alpha, const X &x, Y &y) const |
apply operator to x, scale and add: ![]() | |
Protected Attributes | |
const field_type | immutable_scaling_ |
const field_type & | mutable_scaling_ |
A linear operator scaling vectors by a scalar value. The scalar value can be changed as it is given in a form decomposed into an immutable and a mutable part.
typedef X Dune::ScalingLinearOperator< X, Y >::domain_type |
typedef X::field_type Dune::ScalingLinearOperator< X, Y >::field_type |
typedef Y Dune::ScalingLinearOperator< X, Y >::range_type |
|
inline |
|
inlinevirtual |
apply operator to x: The input vector is consistent and the output must also be consistent on the interior+border partition.
Implements Dune::LinearOperator< X, Y >.
|
inlinevirtual |
apply operator to x, scale and add:
Implements Dune::LinearOperator< X, Y >.
|
protected |
|
protected |