dune-istl  2.2.1
Public Types | Public Member Functions | Friends | List of all members
Dune::NonoverlappingBlockPreconditioner< C, P > Class Template Reference

Nonoverlapping parallel preconditioner. More...

#include <dune/istl/novlpschwarz.hh>

Inheritance diagram for Dune::NonoverlappingBlockPreconditioner< C, P >:
Dune::Preconditioner< P::domain_type, P::range_type >

Public Types

enum  { category =SolverCategory::nonoverlapping }
 
typedef P::domain_type domain_type
 The domain type of the preconditioner. More...
 
typedef P::range_type range_type
 The range type of the preconditioner. More...
 
typedef C communication_type
 The type of the communication object. More...
 
typedef P::domain_type::field_type field_type
 The field type of the preconditioner. More...
 

Public Member Functions

 NonoverlappingBlockPreconditioner (P &prec, const communication_type &c)
 Constructor. More...
 
virtual void pre (domain_type &x, range_type &b)
 Prepare the preconditioner. More...
 
virtual void apply (domain_type &v, const range_type &d)
 Apply the preconditioner. More...
 
virtual void post (domain_type &x)
 Clean up. More...
 

Friends

class Amg::ConstructionTraits< NonoverlappingBlockPreconditioner< C, P > >
 

Detailed Description

template<class C, class P>
class Dune::NonoverlappingBlockPreconditioner< C, P >

Nonoverlapping parallel preconditioner.

This is essentially a wrapper that take a sequential preconditoner. In each step the sequential preconditioner is applied and then all owner data points are updated on all other processes.

Member Typedef Documentation

template<class C, class P>
typedef C Dune::NonoverlappingBlockPreconditioner< C, P >::communication_type

The type of the communication object.

template<class C, class P>
typedef P::domain_type Dune::NonoverlappingBlockPreconditioner< C, P >::domain_type

The domain type of the preconditioner.

typedef P::domain_type ::field_type Dune::Preconditioner< P::domain_type , P::range_type >::field_type
inherited

The field type of the preconditioner.

template<class C, class P>
typedef P::range_type Dune::NonoverlappingBlockPreconditioner< C, P >::range_type

The range type of the preconditioner.

Member Enumeration Documentation

template<class C, class P>
anonymous enum
Enumerator
category 

The category the preconditioner is part of.

Constructor & Destructor Documentation

template<class C, class P>
Dune::NonoverlappingBlockPreconditioner< C, P >::NonoverlappingBlockPreconditioner ( P &  prec,
const communication_type c 
)
inline

Constructor.

 constructor gets all parameters to operate the prec.
Parameters
precThe sequential preconditioner.
cThe communication object for syncing owner and copy data points. (E.~g. OwnerOverlapCommunication )

Member Function Documentation

template<class C, class P>
virtual void Dune::NonoverlappingBlockPreconditioner< C, P >::apply ( domain_type v,
const range_type d 
)
inlinevirtual

Apply the preconditioner.

Apply one step of the preconditioner to the system A(v)=d.

Implements Dune::Preconditioner< P::domain_type, P::range_type >.

template<class C, class P>
virtual void Dune::NonoverlappingBlockPreconditioner< C, P >::post ( domain_type x)
inlinevirtual
template<class C, class P>
virtual void Dune::NonoverlappingBlockPreconditioner< C, P >::pre ( domain_type x,
range_type b 
)
inlinevirtual

Prepare the preconditioner.

Prepare the preconditioner.

Implements Dune::Preconditioner< P::domain_type, P::range_type >.

Friends And Related Function Documentation

template<class C, class P>
friend class Amg::ConstructionTraits< NonoverlappingBlockPreconditioner< C, P > >
friend

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