dune-fem
2.8-git
|
Storage of thread iterators using domain decomposition. More...
#include <dune/fem/misc/threads/threaditeratorstorage.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 | |
ThreadIteratorStorageBase (const GridPartType &gridPart) | |
contructor creating thread iterators More... | |
ThreadIteratorType & | iterators () const |
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 = ThreadIteratorType :: pitype |
Protected Attributes | |
std::unique_ptr< ThreadIteratorType, typename IteratorProviderType::Deleter > | iterators_ |
Storage of thread iterators using domain decomposition.
typedef IteratorType :: Entity Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >::EntityType |
typedef ThreadIteratorType :: FilterType Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >::FilterType |
typedef ThreadIterator :: GridPartType Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >::GridPartType |
typedef GridPartType :: IndexSetType Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >::IndexSetType |
typedef ThreadIteratorType :: IteratorType Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >::IteratorType |
typedef ThreadIterator Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >::ThreadIteratorType |
|
inlineexplicit |
contructor creating thread iterators
|
inline |
return begin iterator for current thread
|
inline |
return end iterator for current thread
|
inline |
return filter for given thread
|
inline |
return thread number this entity belongs to
|
inline |
|
inline |
set ratio between master thread and other threads in comp time
|
inline |
return thread number this entity belongs to
|
inline |
update internal list of iterators
|
protected |
|
static |