3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Files | Classes | Functions

Files for communication of parallel solvers. More...

Description

Files for communication of parallel solvers.

Files

file  multithreading.hh
 Multithreading in Dumux.
 
file  parallel_for.hh
 Parallel for loop (multithreading)
 
file  scotchpartitioner.hh
 An interface to the Scotch library for graph partitioning.
 
file  vectorcommdatahandle.hh
 Contains a class to exchange entries of a vector.
 

Classes

class  Dumux::ScotchPartitioner< IndexType >
 A reordering backend using the scotch library. More...
 
class  Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, ScatterOperator, DataT >
 A data handle class to exchange entries of a vector. More...
 

Functions

constexpr bool Dumux::Multithreading::isSerial ()
 Checking whether the backend is serial. More...
 
template<class FunctorType >
void Dumux::parallelFor (const std::size_t count, const FunctorType &functor)
 A parallel for loop (multithreading) More...
 

Function Documentation

◆ isSerial()

constexpr bool Dumux::Multithreading::isSerial ( )
inlineconstexpr

Checking whether the backend is serial.

◆ parallelFor()

template<class FunctorType >
void Dumux::parallelFor ( const std::size_t  count,
const FunctorType &  functor 
)
inline

A parallel for loop (multithreading)

Parameters
countthe number of work tasks to perform
functorfunctor executed for each task (get task number as argument)