Reference documentation for deal.II version Git ac854ef673 2021-03-06 10:09:45 +0100
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Classes | Functions
WorkStream::internal::tbb_colored Namespace Reference

Classes

struct  ScratchAndCopyDataObjects
 
class  WorkerAndCopier
 

Functions

template<typename Worker , typename Copier , typename Iterator , typename ScratchData , typename CopyData >
void run (const std::vector< std::vector< Iterator >> &colored_iterators, Worker worker, Copier copier, const ScratchData &sample_scratch_data, const CopyData &sample_copy_data, const unsigned int chunk_size)
 

Detailed Description

A namespace for the implementation of details of the WorkStream pattern and function. This namespace holds classes that deal with the third implementation described in the paper by Turcksin, Kronbichler and Bangerth (see workstream_paper).

Function Documentation

◆ run()

template<typename Worker , typename Copier , typename Iterator , typename ScratchData , typename CopyData >
void WorkStream::internal::tbb_colored::run ( const std::vector< std::vector< Iterator >> &  colored_iterators,
Worker  worker,
Copier  copier,
const ScratchData &  sample_scratch_data,
const CopyData &  sample_copy_data,
const unsigned int  chunk_size 
)

The colored run function using TBB.

Definition at line 1030 of file work_stream.h.