|
MAIA bb96820c
Multiphysics at AIA
|
Namespace for auxiliary functions/classes. More...
Namespaces | |
| namespace | acoustic |
| namespace | acoustic_analogy |
| namespace | alloc |
| namespace | collector_memory |
| Helper functions useful for allocating collector memory. | |
| namespace | container |
| namespace | coupling |
| namespace | debug |
| namespace | detail_ |
| namespace | dg |
| namespace | dlb |
| namespace | dlbTimer |
| namespace | fc |
| namespace | filter |
| namespace | fv |
| namespace | geom |
| namespace | grid |
| namespace | io |
| namespace | lb |
| namespace | lblpt |
| namespace | logtable |
| namespace | lpt |
| namespace | ls |
| namespace | math |
| namespace | mpi |
| namespace | parallel_io |
| namespace | post |
| namespace | rb |
| namespace | sbp |
| namespace | structured |
| namespace | tensor |
| Namespace that contains all classes, functions and constants needed for Tensor. | |
Classes | |
| class | CartesianSolver |
| struct | is_unsigned |
| struct | is_unsigned< MUint > |
| struct | is_unsigned< MUlong > |
| struct | maia_signed |
| struct | maia_unsigned |
| struct | PatchRefinement |
| struct | RangeIterator |
| Dummy iterator class. More... | |
| struct | type_traits |
| struct | type_traits< long > |
| struct | type_traits< MBool > |
| struct | type_traits< MChar > |
| struct | type_traits< MFloat > |
| struct | type_traits< MInt > |
| struct | type_traits< MLong > |
| struct | type_traits< MString > |
| struct | type_traits< MUint > |
| struct | type_traits< MUlong > |
| struct | type_traits< uint_fast8_t > |
Functions | |
| template<class UnaryFunction > | |
| void | parallelFor_base (MInt begin, MInt end, UnaryFunction &&f) |
| Wrapper function for parallel for loop (no PSTL) More... | |
| template<class UnaryFunction > | |
| void | parallelFor_pstl (MInt begin, MInt end, UnaryFunction &&f) |
| Wrapper function for parallel for loop (PSTL) More... | |
| template<MBool portedToGpu = false, class UnaryFunction > | |
| void | parallelFor (MInt begin, MInt end, UnaryFunction &&f) |
| Wrapper function for parallel for loop. More... | |
| template<class UnaryFunction , class T > | |
| void | parallelFor_base (const std::vector< T > &container, UnaryFunction &&f) |
| Wrapper function for parallel for loop (STL container based, no PSTL) More... | |
| template<class UnaryFunction , class T > | |
| void | parallelFor_pstl (const std::vector< T > &container, UnaryFunction &&f) |
| Wrapper function for parallel for loop (STL container based, PSTL) More... | |
| template<MBool portedToGpu = false, class UnaryFunction , class T > | |
| void | parallelFor (const std::vector< T > &container, UnaryFunction &&f) |
| Wrapper function for parallel for loop (STL container based) More... | |
| template<MInt nDim, class UnaryFunction > | |
| void | parallelFor_base (std::array< MInt, nDim > begin, std::array< MInt, nDim > end, UnaryFunction &&f) |
| Wrapper function for parallel nested for loops [NON-PSTL]. More... | |
| template<MInt nDim, class UnaryFunction > | |
| void | parallelFor_pstl (std::array< MInt, nDim > begin, std::array< MInt, nDim > end, UnaryFunction &&f) |
| Wrapper function for parallel nested for loops [PSTL]. More... | |
| template<MBool portedToGpu = false, MInt nDim, class UnaryFunction > | |
| void | parallelFor (std::array< MInt, nDim > begin, std::array< MInt, nDim > end, UnaryFunction &&f) |
| Wrapper function for parallel nested for loops. More... | |
Classes with constant number of space dimensions nd.
Helper class for automatic tracing.
type traits for dealing with signed vs unsigned indices
Note: we should not do this...
|
inline |
| [in] | container | STL container over whose entries are looped over |
| [in] | f | function which represents the loops body |
This function wraps a for loop, such that it is performed parallel depending on the given compiler flags. This loop has to be of following type: for( auto& item: container) { f(item); }
Definition at line 197 of file parallelfor.h.
|
inline |
| [in] | begin | start value of iteration |
| [in] | end | end value of iteration |
| [in] | f | function which represents the loops body |
This function wraps a for loop, such that it is performed parallel depending on the given compiler flags. This loop has to be of following type: for( int i = begin; i < end ; i++) { f(i); }
Definition at line 147 of file parallelfor.h.
|
inline |
| [in] | begin[nDim] | start value of iteration |
| [in] | end[nDim] | end value of iteration |
| [in] | f | function which represents the loops body |
This function wraps a one or multiple nested for loops, such that it is performed parallel depending on the given compiler flags. This loop has to be of following type: for( int i = begin[0]; i < end[0] ; i++) { f(i); } or for( int i = begin[0]; i < end[0] ; i++) { for( int j = begin[1]; j < end[1] ; j++) { f(i,j); } }
Definition at line 306 of file parallelfor.h.
|
inline |
Definition at line 161 of file parallelfor.h.
|
inline |
Definition at line 99 of file parallelfor.h.
|
inline |
Definition at line 212 of file parallelfor.h.
|
inline |
Definition at line 177 of file parallelfor.h.
|
inline |
Definition at line 114 of file parallelfor.h.
|
inline |
Definition at line 244 of file parallelfor.h.