dune-fem 2.8.0
Loading...
Searching...
No Matches
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 <dune/fem/misc/threads/domainthreaditerator.hh>

Public Types

typedef GridPart GridPartType
 
typedef GridPartType::GridType GridType
 
typedef GridPartType::IndexSetType IndexSetType
 
typedef DomainFilter< 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
 
void update ()
 update internal list of iterators
 
IteratorType begin () const
 return begin iterator for current thread
 
IteratorType end () const
 return end iterator for current thread
 
int index (const EntityType &entity) const
 return thread number this entity belongs to
 
int thread (const EntityType &entity) const
 return thread number this entity belongs to
 
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

◆ DofManagerType

template<class GridPart >
typedef DofManager< GridType > Dune::Fem::DomainDecomposedIterator< GridPart >::DofManagerType

◆ EntityType

template<class GridPart >
typedef IteratorType::Entity Dune::Fem::DomainDecomposedIterator< GridPart >::EntityType

◆ FilterType

template<class GridPart >
typedef DomainFilter<GridPartType> Dune::Fem::DomainDecomposedIterator< GridPart >::FilterType

◆ GridPartType

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

◆ GridType

template<class GridPart >
typedef GridPartType::GridType Dune::Fem::DomainDecomposedIterator< GridPart >::GridType

◆ IndexSetType

template<class GridPart >
typedef GridPartType::IndexSetType Dune::Fem::DomainDecomposedIterator< GridPart >::IndexSetType

◆ IteratorType

template<class GridPart >
typedef GridPartType::template Codim<0>::IteratorType Dune::Fem::DomainDecomposedIterator< GridPart >::IteratorType

Constructor & Destructor Documentation

◆ DomainDecomposedIterator()

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

contructor creating thread iterators

Member Function Documentation

◆ begin()

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

return begin iterator for current thread

◆ end()

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

return end iterator for current thread

◆ index()

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

return thread number this entity belongs to

◆ setMasterRatio()

template<class GridPart >
void Dune::Fem::DomainDecomposedIterator< GridPart >::setMasterRatio ( const double  ratio)
inline

◆ thread()

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

return thread number this entity belongs to

◆ update()

template<class GridPart >
void Dune::Fem::DomainDecomposedIterator< GridPart >::update ( )
inline

update internal list of iterators

Member Data Documentation

◆ communicationThread_

template<class GridPart >
const bool Dune::Fem::DomainDecomposedIterator< GridPart >::communicationThread_
protected

◆ dofManager_

template<class GridPart >
const DofManagerType& Dune::Fem::DomainDecomposedIterator< GridPart >::dofManager_
protected

◆ gridPart_

template<class GridPart >
const GridPartType& Dune::Fem::DomainDecomposedIterator< GridPart >::gridPart_
protected

◆ indexSet_

template<class GridPart >
const IndexSetType& Dune::Fem::DomainDecomposedIterator< GridPart >::indexSet_
protected

◆ masterRatio_

template<class GridPart >
double Dune::Fem::DomainDecomposedIterator< GridPart >::masterRatio_
protected

◆ pitype

template<class GridPart >
const PartitionIteratorType Dune::Fem::DomainDecomposedIterator< GridPart >::pitype = GridPartType :: indexSetPartitionType
static

◆ verbose_

template<class GridPart >
const bool Dune::Fem::DomainDecomposedIterator< GridPart >::verbose_
protected

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