Reference documentation for deal.II version GIT d6cf33b98c 2023-09-22 19:50:02+00:00
\(\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\}}\)
Namespaces | Classes | Functions
Threads Namespace Reference

Namespaces

 internal
 

Classes

class  Mutex
 
class  ThreadLocalStorage
 A class that provides a separate storage location on each thread that accesses the object. More...
 
class  Task
 
class  TaskGroup
 

Functions

template<typename ForwardIterator >
std::vector< std::pair< ForwardIterator, ForwardIterator > > split_range (const ForwardIterator &begin, const ForwardIterator &end, const unsigned int n_intervals)
 
std::vector< std::pair< unsigned int, unsigned int > > split_interval (const unsigned int begin, const unsigned int end, const unsigned int n_intervals)
 
template<typename RT >
Task< RT > new_task (const std::function< RT()> &function)
 
template<typename FunctionObjectType >
auto new_task (FunctionObjectType function_object) -> Task< decltype(function_object())>
 
template<typename RT , typename... Args>
Task< RT > new_task (RT(*fun_ptr)(Args...), std_cxx20::type_identity_t< Args >... args)
 
template<typename RT , typename C , typename... Args>
Task< RT > new_task (RT(C::*fun_ptr)(Args...), std_cxx20::type_identity_t< C > &c, std_cxx20::type_identity_t< Args >... args)
 
template<typename RT , typename C , typename... Args>
Task< RT > new_task (RT(C::*fun_ptr)(Args...) const, std_cxx20::type_identity_t< const C > &c, std_cxx20::type_identity_t< Args >... args)
 

Detailed Description

A namespace for the implementation of thread management in deal.II. Most of the content of this namespace is discussed in detail in one of the reports linked to from the documentation page of deal.II.