![]() |
deal.II version GIT relicensing-2981-gc9b2d476df 2025-04-01 01:00:00+00:00
|
Namespaces | |
namespace | internal |
Classes | |
class | Mutex |
class | Task |
class | TaskGroup |
class | TaskResult |
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) |
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.