Serac
0.1
Serac is an implicit thermal strucural mechanics simulation code.
|
Utilities for C++ metaprogramming. More...
#include <tuple>
#include <utility>
#include <type_traits>
#include "serac/infrastructure/accelerator.hpp"
Go to the source code of this file.
Functions | |
template<int I, int... n> | |
constexpr auto | get (std::integer_sequence< int, n... >) |
return the Ith integer in {n...} | |
template<int... n, typename lambda > | |
constexpr SERAC_HOST_DEVICE void | for_constexpr (lambda &&f) |
multidimensional loop tool that evaluates the lambda body inside the innermost loop. More... | |
Utilities for C++ metaprogramming.
Definition in file metaprogramming.hpp.
|
constexpr |
multidimensional loop tool that evaluates the lambda body inside the innermost loop.
n | integer template arguments describing the shape of the iteration space |
lambda | the type of the functor object to be executed in the loop |
Definition at line 97 of file metaprogramming.hpp.