dune-fem 2.8.0
|
Storage of thread iterators. More...
#include <dune/fem/misc/threads/threaditerator.hh>
Public Types | |
typedef ThreadIterator | ThreadIteratorType |
typedef ThreadIterator::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) | |
ThreadIteratorType & | iterators () const |
const FilterType & | filter (const int thread) const |
return filter for given thread | |
void | update () |
update internal list of iterators | |
void | setMasterRatio (const double ratio) |
set ratio between master thread and other threads in comp time | |
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 | |
Static Public Attributes | |
static const PartitionIteratorType | pitype = ThreadIteratorType :: pitype |
Protected Attributes | |
std::unique_ptr< ThreadIteratorType, typename IteratorProviderType::Deleter > | iterators_ |
Storage of thread iterators.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inlineinherited |
return begin iterator for current thread
|
inlineinherited |
return end iterator for current thread
|
inlineinherited |
return filter for given thread
|
inlineinherited |
return thread number this entity belongs to
|
inlineinherited |
|
inlineinherited |
set ratio between master thread and other threads in comp time
|
inlineinherited |
return thread number this entity belongs to
|
inlineinherited |
update internal list of iterators
|
protectedinherited |
|
staticinherited |