DUNE-FEM (unstable)

Dune::Fem::ThreadIterator< GridPart, ptype > Class Template Reference

Thread iterators. More...

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

Public Member Functions

 ThreadIterator (const GridPartType &gridPart, const ParameterReader &parameter=Parameter::container())
 contructor creating thread iterators
 
const FilterType & filter (const unsigned int thread) const
 return filter for given thread
 
void update ()
 update internal list of iterators
 
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
 
int thread () const
 return thread number of running thread
 
void setMasterRatio (const double ratio)
 set ratio between master thread and other threads in comp time
 

Detailed Description

template<class GridPart, PartitionIteratorType ptype = InteriorBorder_Partition>
class Dune::Fem::ThreadIterator< GridPart, ptype >

Thread iterators.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)