dune-fem  2.4.1-rc
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
Dune::Fem::DomainDecomposedIterator< GridPart > Class Template Reference

Thread iterators using domain decomposition. More...

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/misc/threads/domainthreaditerator.hh>

Public Types

typedef GridPart GridPartType
 
typedef GridPartType::GridType GridType
 
typedef GridPartType::IndexSetType IndexSetType
 
typedef ThreadFilter< GridPartTypeFilterType
 
typedef GridPartType::template Codim< 0 >::IteratorType IteratorType
 
typedef IteratorType::Entity EntityType
 
typedef DofManager< GridTypeDofManagerType
 

Public Member Functions

 DomainDecomposedIterator (const GridPartType &gridPart, const ParameterReader &parameter=Parameter::container())
 contructor creating thread iterators More...
 
void update ()
 update internal list of iterators More...
 
IteratorType begin () const
 return begin iterator for current thread More...
 
IteratorType end () const
 return end iterator for current thread More...
 
int index (const EntityType &entity) const
 return thread number this entity belongs to More...
 
int thread (const EntityType &entity) const
 return thread number this entity belongs to More...
 
void setMasterRatio (const double ratio)
 

Static Public Attributes

static const PartitionIteratorType pitype = GridPartType :: indexSetPartitionType
 

Protected Attributes

const GridPartTypegridPart_
 
const DofManagerTypedofManager_
 
const IndexSetTypeindexSet_
 
double masterRatio_
 
const bool communicationThread_
 
const bool verbose_
 

Detailed Description

template<class GridPart>
class Dune::Fem::DomainDecomposedIterator< GridPart >

Thread iterators using domain decomposition.

Member Typedef Documentation

template<class GridPart >
typedef DofManager< GridType > Dune::Fem::DomainDecomposedIterator< GridPart >::DofManagerType
template<class GridPart >
typedef IteratorType :: Entity Dune::Fem::DomainDecomposedIterator< GridPart >::EntityType
template<class GridPart >
typedef ThreadFilter<GridPartType> Dune::Fem::DomainDecomposedIterator< GridPart >::FilterType
template<class GridPart >
typedef GridPart Dune::Fem::DomainDecomposedIterator< GridPart >::GridPartType
template<class GridPart >
typedef GridPartType :: GridType Dune::Fem::DomainDecomposedIterator< GridPart >::GridType
template<class GridPart >
typedef GridPartType :: IndexSetType Dune::Fem::DomainDecomposedIterator< GridPart >::IndexSetType
template<class GridPart >
typedef GridPartType :: template Codim< 0 >:: IteratorType Dune::Fem::DomainDecomposedIterator< GridPart >::IteratorType

Constructor & Destructor Documentation

template<class GridPart >
Dune::Fem::DomainDecomposedIterator< GridPart >::DomainDecomposedIterator ( const GridPartType gridPart,
const ParameterReader parameter = Parameter::container() 
)
inlineexplicit

Member Function Documentation

template<class GridPart >
IteratorType Dune::Fem::DomainDecomposedIterator< GridPart >::begin ( ) const
inline

return begin iterator for current thread

References Dune::Fem::ThreadManager::thread(), and Dune::Fem::DomainDecomposedIterator< GridPart >::thread().

template<class GridPart >
IteratorType Dune::Fem::DomainDecomposedIterator< GridPart >::end ( ) const
inline

return end iterator for current thread

References Dune::Fem::ThreadManager::thread().

template<class GridPart >
int Dune::Fem::DomainDecomposedIterator< GridPart >::index ( const EntityType entity) const
inline

return thread number this entity belongs to

template<class GridPart >
void Dune::Fem::DomainDecomposedIterator< GridPart >::setMasterRatio ( const double  ratio)
inline
template<class GridPart >
int Dune::Fem::DomainDecomposedIterator< GridPart >::thread ( const EntityType entity) const
inline
template<class GridPart >
void Dune::Fem::DomainDecomposedIterator< GridPart >::update ( )
inline

Member Data Documentation

template<class GridPart >
const bool Dune::Fem::DomainDecomposedIterator< GridPart >::communicationThread_
protected
template<class GridPart >
const DofManagerType& Dune::Fem::DomainDecomposedIterator< GridPart >::dofManager_
protected
template<class GridPart >
const GridPartType& Dune::Fem::DomainDecomposedIterator< GridPart >::gridPart_
protected
template<class GridPart >
const IndexSetType& Dune::Fem::DomainDecomposedIterator< GridPart >::indexSet_
protected
template<class GridPart >
double Dune::Fem::DomainDecomposedIterator< GridPart >::masterRatio_
protected
template<class GridPart >
const PartitionIteratorType Dune::Fem::DomainDecomposedIterator< GridPart >::pitype = GridPartType :: indexSetPartitionType
static
template<class GridPart >
const bool Dune::Fem::DomainDecomposedIterator< GridPart >::verbose_
protected

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