Interface class to access the logical Cartesian grid as used in industry standard simulator decks.
More...
|
| CartesianIndexMapper (const Grid &grid, const std::array< int, dimension > &cartDims, const std::vector< int > &cartesianIndex) |
| constructor taking grid More...
|
|
const std::array< int,
dimension > & | cartesianDimensions () const |
| return Cartesian dimensions, i.e. number of cells in each direction More...
|
|
int | cartesianSize () const |
| return total number of cells in the logical Cartesian grid More...
|
|
int | compressedSize () const |
| return number of cells in the active grid More...
|
|
int | cartesianIndex (const int compressedElementIndex) const |
| return index of the cells in the logical Cartesian grid More...
|
|
int | cartesianIndex (const std::array< int, dimension > &coords) const |
| return index of the cells in the logical Cartesian grid More...
|
|
void | cartesianCoordinate (const int compressedElementIndex, std::array< int, dimension > &coords) const |
| return Cartesian coordinate, i.e. IJK, for a given cell More...
|
|
template<class GridView > |
std::unique_ptr
< GlobalIndexDataHandle
< GridView > > | dataHandle (const GridView &gridView) |
|
template<class Grid>
class Dune::CartesianIndexMapper< Grid >
Interface class to access the logical Cartesian grid as used in industry standard simulator decks.