Reference documentation for deal.II version Git 191d06ed00 2021-05-11 21:15:49 -0400
\(\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\}}\)
Functions
WorkStream::internal::sequential Namespace Reference

Functions

template<typename Worker , typename Copier , typename Iterator , typename ScratchData , typename CopyData >
void run (const Iterator &begin, const typename identity< Iterator >::type &end, Worker worker, Copier copier, const ScratchData &sample_scratch_data, const CopyData &sample_copy_data)
 
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)
 

Detailed Description

A reference implementation without using multithreading to be used if we don't have multithreading support or if the user requests to run things sequentially. This is more efficient than using TBB or taskflow if we only have a single thread.

Function Documentation

◆ run() [1/2]

template<typename Worker , typename Copier , typename Iterator , typename ScratchData , typename CopyData >
void WorkStream::internal::sequential::run ( const Iterator &  begin,
const typename identity< Iterator >::type &  end,
Worker  worker,
Copier  copier,
const ScratchData &  sample_scratch_data,
const CopyData &  sample_copy_data 
)

Sequential version without colors.

Definition at line 745 of file work_stream.h.

◆ run() [2/2]

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

Sequential version with colors

Definition at line 787 of file work_stream.h.