Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
parallelalgorithm.hh File Reference
#include <cstddef>
#include <vector>
#include <thread>
#include <dune/common/iteratorrange.hh>
#include <dune/fufem/parallel/barrier.hh>

Go to the source code of this file.

Namespaces

namespace  Dune
 
namespace  Dune::Fufem
 

Functions

template<class Range >
static auto Dune::Fufem::rangeSegment (Range &range, std::size_t i, std::size_t n)
 Split range into uniform segments.
 
template<class F >
void Dune::Fufem::parallelAlgorithm (std::size_t threadCount, F &&threadImp)
 Utility for implementing parallel algorithms based on colored entity partitions.