dune-fem
2.4.1-rc
|
Storage of thread iterators. More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/misc/threads/threaditerator.hh>
Public Types | |
typedef ThreadIterator< GridPart, pitype > | ThreadIteratorType |
typedef ThreadIterator< GridPart, pitype >::GridPartType | GridPartType |
typedef GridPartType::IndexSetType | IndexSetType |
typedef ThreadIteratorType::FilterType | FilterType |
typedef ThreadIteratorType::IteratorType | IteratorType |
typedef IteratorType::Entity | EntityType |
Public Member Functions | |
ThreadIteratorStorage (const GridPart &gridPart) | |
const FilterType & | filter (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 | |
ThreadIteratorType & | iterators_ |
Storage of thread iterators.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inlineinherited |
return begin iterator for current thread
References Dune::Fem::ThreadIterator< GridPart, ptype >::begin().
|
inlineinherited |
return end iterator for current thread
References Dune::Fem::ThreadIterator< GridPart, ptype >::end().
|
inlineinherited |
return filter for given thread
|
inlineinherited |
return thread number this entity belongs to
References Dune::Fem::ThreadIterator< GridPart, ptype >::index().
|
inlineinherited |
set ratio between master thread and other threads in comp time
References Dune::Fem::ThreadIterator< GridPart, ptype >::setMasterRatio().
|
inlineinherited |
return thread number this entity belongs to
References Dune::Fem::ThreadIterator< GridPart, ptype >::thread().
|
inlineinherited |
update internal list of iterators
References Dune::Fem::ThreadIterator< GridPart, ptype >::update().
|
protectedinherited |
|
staticinherited |