3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
parallel_for.hh File Reference

Parallel for loop (multithreading). More...

Go to the source code of this file.

Description

Parallel for loop (multithreading).

A parallel for loop (multithreading).

Parameters
countthe number of work tasks to perform
functorfunctor 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)