Reference documentation for deal.II version 9.6.0
\(\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\}}\)
Loading...
Searching...
No Matches
WorkStream::internal::sequential Namespace Reference

Functions

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

Sequential version without colors.

Definition at line 683 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 725 of file work_stream.h.