dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
Dune::Fem::DomainDecomposedIteratorStorage< GridPart > Class Template Reference

Storage of thread iterators using domain decomposition. More...

#include <dune/fem/misc/threads/domainthreaditerator.hh>

Inheritance diagram for Dune::Fem::DomainDecomposedIteratorStorage< GridPart >:
Inheritance graph

Public Types

typedef DomainDecomposedIterator< GridPart > ThreadIteratorType
 
typedef ThreadIterator::GridPartType GridPartType
 
typedef GridPartType::IndexSetType IndexSetType
 
typedef ThreadIteratorType::FilterType FilterType
 
typedef ThreadIteratorType::IteratorType IteratorType
 
typedef IteratorType::Entity EntityType
 

Public Member Functions

 DomainDecomposedIteratorStorage (const GridPart &gridPart)
 
ThreadIteratorTypeiterators () const
 
const FilterTypefilter (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
 

Protected Attributes

std::unique_ptr< ThreadIteratorType, typename IteratorProviderType::Deleteriterators_
 

Detailed Description

template<class GridPart>
class Dune::Fem::DomainDecomposedIteratorStorage< GridPart >

Storage of thread iterators using domain decomposition.

Member Typedef Documentation

◆ EntityType

typedef IteratorType::Entity Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::EntityType
inherited

◆ FilterType

◆ GridPartType

◆ IndexSetType

typedef GridPartType::IndexSetType Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::IndexSetType
inherited

◆ IteratorType

◆ ThreadIteratorType

typedef DomainDecomposedIterator< GridPart > Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::ThreadIteratorType
inherited

Constructor & Destructor Documentation

◆ DomainDecomposedIteratorStorage()

template<class GridPart >
Dune::Fem::DomainDecomposedIteratorStorage< GridPart >::DomainDecomposedIteratorStorage ( const GridPart &  gridPart)
inline

Member Function Documentation

◆ begin()

IteratorType Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::begin ( ) const
inlineinherited

return begin iterator for current thread

◆ end()

IteratorType Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::end ( ) const
inlineinherited

return end iterator for current thread

◆ filter()

const FilterType & Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::filter ( const int  thread) const
inlineinherited

return filter for given thread

◆ index()

int Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::index ( const EntityType entity) const
inlineinherited

return thread number this entity belongs to

◆ iterators()

ThreadIteratorType & Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::iterators ( ) const
inlineinherited

◆ setMasterRatio()

void Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::setMasterRatio ( const double  ratio)
inlineinherited

set ratio between master thread and other threads in comp time

◆ thread()

int Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::thread ( const EntityType entity) const
inlineinherited

return thread number this entity belongs to

◆ update()

void Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::update ( )
inlineinherited

update internal list of iterators

Member Data Documentation

◆ iterators_

std::unique_ptr< ThreadIteratorType, typename IteratorProviderType::Deleter> Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::iterators_
protectedinherited

◆ pitype

const PartitionIteratorType Dune::Fem::ThreadIteratorStorageBase< DomainDecomposedIterator< GridPart > >::pitype
staticinherited

The documentation for this class was generated from the following file: