Parallel for loop (multithreading) More...
#include <dumux/parallel/multithreading.hh>Go to the source code of this file.
Parallel for loop (multithreading)
A parallel for loop (multithreading)
| count | the number of work tasks to perform |
| functor | functor executed for each task (get task number as argument) |
Namespaces | |
| namespace | Dumux |
Functions | |
| template<class FunctorType > | |
| void | Dumux::parallelFor (const std::size_t count, const FunctorType &functor) |