A class storing cell ranges of roughly equal size for multithreaded mesh traversal.
More...
#include <gridmanager.hh>
template<class GridView>
class Kaskade::CellRanges< GridView >
A class storing cell ranges of roughly equal size for multithreaded mesh traversal.
Definition at line 84 of file gridmanager.hh.
|
typedef GridView::template Codim< 0 >::Iterator | CellIterator |
| The type of iterator to step through the cells of the given view. More...
|
|
◆ CellIterator
template<class GridView >
The type of iterator to step through the cells of the given view.
Definition at line 90 of file gridmanager.hh.
◆ CellRanges() [1/3]
template<class GridView >
Default constructor. This creates a pretty useless empty cell ranges object.
◆ CellRanges() [2/3]
template<class GridView >
◆ CellRanges() [3/3]
template<class GridView >
Constructs cell ranges.
- Parameters
-
nmax | Compute and store cell ranges for up to nmax groups |
gridView | the grid view to use (usually a leaf view). The iterators returned by the grid view have to be valid for the lifetime of the CellRanges object - usually this means the grid shall not be modified/adapted. |
Definition at line 110 of file gridmanager.hh.
◆ maxRanges()
template<class GridView >
Obtain the maximum number of ranges. Default constructed "empty" cell ranges return a negative value.
Definition at line 166 of file gridmanager.hh.
◆ operator=()
template<class GridView >
◆ range()
template<class GridView >
Obtain cell range.
- Parameters
-
n | the number of cell ranges (1<=n<=maxRanges()) |
k | the k-th range will be returned (0<=k<n) |
Definition at line 155 of file gridmanager.hh.
The documentation for this class was generated from the following file: