version 3.9-dev

Files for communication of parallel solvers. More...

Description

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

◆ parallelFor()

template<class FunctorType >
void Dumux::parallelFor ( const std::size_t  count,
const FunctorType &  functor 
)
inline
Parameters
countthe number of work tasks to perform
functorfunctor executed for each task (get task number as argument)