|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
Classes |
Public Types |
Public Member Functions |
Static Public Attributes |
Protected Attributes |
List of all members
Dune::Fem::ThreadIteratorStorageBase< ThreadIterator > Class Template Reference
Storage of thread iterators using domain decomposition. More...
#include <dune/fem/misc/threads/threaditeratorstorage.hh>
Inheritance diagram for Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >:

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_ |
Detailed Description
template<class ThreadIterator>
class Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >
class Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >
Storage of thread iterators using domain decomposition.
Member Typedef Documentation
◆ EntityType
template<class ThreadIterator >
| typedef IteratorType::Entity Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >::EntityType |
◆ FilterType
template<class ThreadIterator >
| typedef ThreadIteratorType::FilterType Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >::FilterType |
◆ GridPartType
template<class ThreadIterator >
| typedef ThreadIterator::GridPartType Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >::GridPartType |
◆ IndexSetType
template<class ThreadIterator >
| typedef GridPartType::IndexSetType Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >::IndexSetType |
◆ IteratorType
template<class ThreadIterator >
| typedef ThreadIteratorType::IteratorType Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >::IteratorType |
◆ ThreadIteratorType
template<class ThreadIterator >
| typedef ThreadIterator Dune::Fem::ThreadIteratorStorageBase< ThreadIterator >::ThreadIteratorType |
Constructor & Destructor Documentation
◆ ThreadIteratorStorageBase()
template<class ThreadIterator >
|
inlineexplicit |
contructor creating thread iterators
Member Function Documentation
◆ begin()
template<class ThreadIterator >
|
inline |
return begin iterator for current thread
◆ end()
template<class ThreadIterator >
|
inline |
return end iterator for current thread
◆ filter()
template<class ThreadIterator >
|
inline |
return filter for given thread
◆ index()
template<class ThreadIterator >
|
inline |
return thread number this entity belongs to
◆ iterators()
template<class ThreadIterator >
|
inline |
◆ setMasterRatio()
template<class ThreadIterator >
|
inline |
set ratio between master thread and other threads in comp time
◆ thread()
template<class ThreadIterator >
|
inline |
return thread number this entity belongs to
◆ update()
template<class ThreadIterator >
|
inline |
update internal list of iterators
Member Data Documentation
◆ iterators_
template<class ThreadIterator >
|
protected |
◆ pitype
template<class ThreadIterator >
|
static |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8