AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
for_all.hpp File Reference
#include "axom/config.hpp"
#include "axom/core/execution/execution_space.hpp"
#include "axom/core/Macros.hpp"
#include "axom/core/Types.hpp"
#include <type_traits>
#include <utility>

Namespaces

 axom
 

Functions

Generic Loop Traversal Functions
template<typename ExecSpace , typename KernelType >
void axom::for_all (const IndexType &begin, const IndexType &end, KernelType &&kernel) noexcept
 Loops over a specified contiguous range, I:[begin,end-1]. More...
 
template<typename ExecSpace , typename KernelType >
void axom::for_all (const IndexType &N, KernelType &&kernel) noexcept
 Loops over the contiguous range, I:[0,N-1], given by its length, N. More...