Reference documentation for deal.II version GIT relicensing-136-gb80d0be4af 2024-03-18 08:20: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\}}\)
Loading...
Searching...
No Matches
Namespaces | Classes | Functions

Namespaces

namespace  internal
 

Classes

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

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 FunctionObject , typename... Args, typename = std::enable_if_t<std::is_invocable_v<FunctionObject, Args...>>, typename = std::enable_if_t<std::is_function_v<FunctionObject> == false>, typename = std::enable_if_t<std::is_member_pointer_v<FunctionObject> == false>, typename = std::enable_if_t<std::is_pointer_v<FunctionObject> == false>>
Task< std::invoke_result_t< FunctionObject, Args... > > new_task (const FunctionObject &fun, 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.