Template Function ripple::detail::global_elements¶
Defined in File thread_index_impl_.hpp
Function Documentation¶
-
template<typename
Dim
>
autoripple::detail
::
global_elements
(Dim &&dim) noexcept -> size_t&¶ Gets the number of elements in the dimension, globally, for a single node.
This can be used for the case that there are multiple nodes to determine exactly how many elements are assigned to the specific node.
- Return
The number of elements for a single node in the given dimension.
- Parameters
dim
: The dimension to get the number of elements for.
- Template Parameters
Dim
: The type of the dimension specifier.