Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Namespaces | Functions
ForEach.hpp File Reference
#include "fub/State.hpp"
#include "fub/core/mdspan.hpp"

Go to the source code of this file.

Namespaces

 fub
 The fub namespace.
 

Functions

template<int Rank, typename Function >
Function fub::ForEachIndex (const IndexBox< Rank > &box, Function function)
 
template<typename Extents , typename Function >
Function fub::ForEachIndex (const layout_left::mapping< Extents > &mapping, Function function)
 Iterate through the multi-dimensional index space descibed by mapping and invoke function for each such indices. More...
 
template<typename Extents , typename Function >
Function fub::ForEachIndex (const layout_stride::mapping< Extents > &mapping, Function function)
 Iterate through the multi-dimensional index space descibed by mapping and invoke function for each such indices. More...