|
core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
|
Compile-time-unrolled nested loop over [bgn, end) in row-major (axis 0 fastest) order. More...
#include <types.hpp>
Static Public Member Functions | |
| template<typename Func > | |
| static void | run (IVec< Dim > &idx, const IVec< Dim > &bgn, const IVec< Dim > &end, Func &&func) |
Compile-time-unrolled nested loop over [bgn, end) in row-major (axis 0 fastest) order.
func receives the current IVec<Dim> index by const-ref. Ported from pbs::NestedLoop.
|
inlinestatic |
Definition at line 46 of file types.hpp.
References peclet::core::NestedLoop< Dim, Axis >::run().
Referenced by peclet::core::forEachInBox(), and peclet::core::NestedLoop< Dim, Axis >::run().