version 3.11-dev
Loading...
Searching...
No Matches
Dumux::Grid::Capabilities Namespace Reference

Classes

struct  MultithreadingSupported
struct  MultithreadingSupported< Dune::ALUGrid< dim, dimworld, elType, refinementType > >
struct  MultithreadingSupported< Dune::FoamGrid< dim, dimworld > >
struct  MultithreadingSupported< Dune::UGGrid< dim > >
struct  MultithreadingSupported< Dune::YaspGrid< dim, Coordinates > >

Functions

template<class GridView>
bool supportsMultithreading (const GridView &gridView)
template<class... GridDiscretizations>
bool allGridsSupportsMultithreading (const std::tuple< GridDiscretizations... > &gridDiscretizations)
 Whether the grid views of all grid discretizations support multithreading.

Function Documentation

◆ allGridsSupportsMultithreading()

template<class... GridDiscretizations>
bool Dumux::Grid::Capabilities::allGridsSupportsMultithreading ( const std::tuple< GridDiscretizations... > & gridDiscretizations)
inline
Parameters
gridDiscretizationsA tuple of pointers to grid discretizations

◆ supportsMultithreading()

template<class GridView>
bool Dumux::Grid::Capabilities::supportsMultithreading ( const GridView & gridView)
inline