dune-istl  2.5.0
Public Types | Public Member Functions | List of all members
Dune::AssembledLinearOperator< M, X, Y > Class Template Referenceabstract

A linear operator exporting itself in matrix form. More...

#include <dune/istl/operators.hh>

Inheritance diagram for Dune::AssembledLinearOperator< M, X, Y >:
Inheritance graph

Public Types

typedef M matrix_type
 export types, usually they come from the derived class More...
 
typedef X domain_type
 
typedef Y range_type
 
typedef X::field_type field_type
 

Public Member Functions

virtual const M & getmat () const =0
 get matrix via * More...
 
virtual ~AssembledLinearOperator ()
 every abstract base class has a virtual destructor More...
 
virtual void apply (const X &x, Y &y) const =0
 apply operator to x: $ y = A(x) $ The input vector is consistent and the output must also be consistent on the interior+border partition. More...
 
virtual void applyscaleadd (field_type alpha, const X &x, Y &y) const =0
 apply operator to x, scale and add: $ y = y + \alpha A(x) $ More...
 

Detailed Description

template<class M, class X, class Y>
class Dune::AssembledLinearOperator< M, X, Y >

A linear operator exporting itself in matrix form.

Linear Operator that exports the operator in matrix form. This is needed for certain solvers, such as LU decomposition, ILU preconditioners or BiCG-Stab (because of multiplication with A^T).

Member Typedef Documentation

§ domain_type

template<class M , class X , class Y >
typedef X Dune::AssembledLinearOperator< M, X, Y >::domain_type

§ field_type

template<class M , class X , class Y >
typedef X::field_type Dune::AssembledLinearOperator< M, X, Y >::field_type

§ matrix_type

template<class M , class X , class Y >
typedef M Dune::AssembledLinearOperator< M, X, Y >::matrix_type

export types, usually they come from the derived class

§ range_type

template<class M , class X , class Y >
typedef Y Dune::AssembledLinearOperator< M, X, Y >::range_type

Constructor & Destructor Documentation

§ ~AssembledLinearOperator()

template<class M , class X , class Y >
virtual Dune::AssembledLinearOperator< M, X, Y >::~AssembledLinearOperator ( )
inlinevirtual

every abstract base class has a virtual destructor

Member Function Documentation

§ apply()

template<class X, class Y>
virtual void Dune::LinearOperator< X, Y >::apply ( const X &  x,
Y &  y 
) const
pure virtualinherited

apply operator to x: $ y = A(x) $ The input vector is consistent and the output must also be consistent on the interior+border partition.

Implemented in Dune::MatrixAdapter< M, X, Y >, Dune::OverlappingSchwarzOperator< M, X, Y, C >, Dune::LinearOperatorSum< OP1, OP2 >, Dune::NonoverlappingSchwarzOperator< M, X, Y, C >, and Dune::ScalingLinearOperator< X, Y >.

§ applyscaleadd()

template<class X, class Y>
virtual void Dune::LinearOperator< X, Y >::applyscaleadd ( field_type  alpha,
const X &  x,
Y &  y 
) const
pure virtualinherited

§ getmat()

template<class M , class X , class Y >
virtual const M& Dune::AssembledLinearOperator< M, X, Y >::getmat ( ) const
pure virtual

The documentation for this class was generated from the following file: