|
Smith
0.1
Smith is an implicit thermal structural mechanics simulation code.
|
Utilities for C++ metaprogramming. More...
#include <tuple>#include <utility>#include <type_traits>#include "smith/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 SMITH_HOST_DEVICE void | for_constexpr (const 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 96 of file metaprogramming.hpp.