base class encapsulating common algorithms of ILU0SubdomainSolver and ILUNSubdomainSolver. More...

#include <dune/istl/ilusubdomainsolver.hh>

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

List of all members.

Public Types

typedef Dune::remove_const< M >
::type 
matrix_type
 The matrix type the preconditioner is for.
typedef X domain_type
 The domain type of the preconditioner.
typedef Y range_type
 The range type of the preconditioner.

Public Member Functions

virtual void apply (X &v, const Y &d)=0
 Apply the subdomain solver.
virtual ~ILUSubdomainSolver ()

Protected Member Functions

template<class S >
std::size_t copyToLocalMatrix (const M &A, S &rowset)
 Copy the local part of the global matrix to ILU.

Protected Attributes

matrix_type ILU
 The ILU0 decomposition of the matrix, or the local matrix.

Detailed Description

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

base class encapsulating common algorithms of ILU0SubdomainSolver and ILUNSubdomainSolver.

Template Parameters:
M The type of the matrix.
X The type of the vector for the domain.
X The type of the vector for the range.

Member Typedef Documentation

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

The domain type of the preconditioner.

Reimplemented in Dune::ILU0SubdomainSolver< M, X, Y >, and Dune::ILUNSubdomainSolver< M, X, Y >.

template<class M , class X , class Y >
typedef Dune::remove_const<M>::type Dune::ILUSubdomainSolver< M, X, Y >::matrix_type

The matrix type the preconditioner is for.

Reimplemented in Dune::ILU0SubdomainSolver< M, X, Y >, and Dune::ILUNSubdomainSolver< M, X, Y >.

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

The range type of the preconditioner.

Reimplemented in Dune::ILU0SubdomainSolver< M, X, Y >, and Dune::ILUNSubdomainSolver< M, X, Y >.


Constructor & Destructor Documentation

template<class M , class X , class Y >
virtual Dune::ILUSubdomainSolver< M, X, Y >::~ILUSubdomainSolver (  )  [inline, virtual]

Member Function Documentation

template<class M , class X , class Y >
virtual void Dune::ILUSubdomainSolver< M, X, Y >::apply ( X &  v,
const Y &  d 
) [pure virtual]

Apply the subdomain solver.

On entry v=? and d=b-A(x) (although this might not be computed in that way. On exit v contains the update

Implemented in Dune::ILU0SubdomainSolver< M, X, Y >, and Dune::ILUNSubdomainSolver< M, X, Y >.


Member Data Documentation


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

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].