dune-fem 2.8.0
|
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 | |
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 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 |