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

Storage of thread iterators using domain decomposition. More...

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

Inheritance diagram for Dune::Fem::DomainDecomposedIteratorStorage< GridPart >:
Inheritance graph

Public Types

typedef DomainDecomposedIterator< GridPart > ThreadIteratorType
 
typedef DomainDecomposedIterator< GridPart >::GridPartType GridPartType
 
typedef GridPartType::IndexSetType IndexSetType
 
typedef ThreadIteratorType::FilterType FilterType
 
typedef ThreadIteratorType::IteratorType IteratorType
 
typedef IteratorType::Entity EntityType
 

Public Member Functions

 DomainDecomposedIteratorStorage (const GridPart &gridPart)
 
const FilterTypefilter (const int thread) const
 return filter for given thread More...
 
void update ()
 update internal list of iterators More...
 
void setMasterRatio (const double ratio)
 set ratio between master thread and other threads in comp time 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...
 

Static Public Attributes

static const PartitionIteratorType pitype
 

Protected Attributes

ThreadIteratorTypeiterators_
 

Detailed Description

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

Storage of thread iterators using domain decomposition.

Member Typedef Documentation

Constructor & Destructor Documentation

template<class GridPart>
Dune::Fem::DomainDecomposedIteratorStorage< GridPart >::DomainDecomposedIteratorStorage ( const GridPart &  gridPart)
inline

Member Function Documentation

IteratorType Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::begin ( ) const
inlineinherited

return begin iterator for current thread

IteratorType Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::end ( ) const
inlineinherited

return end iterator for current thread

const FilterType& Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::filter ( const int  thread) const
inlineinherited

return filter for given thread

int Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::index ( const EntityType entity) const
inlineinherited

return thread number this entity belongs to

void Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::setMasterRatio ( const double  ratio)
inlineinherited

set ratio between master thread and other threads in comp time

int Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::thread ( const EntityType entity) const
inlineinherited

return thread number this entity belongs to

void Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::update ( )
inlineinherited

update internal list of iterators

Member Data Documentation

const PartitionIteratorType Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::pitype
staticinherited

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