cartesianindexmapper.hh
Go to the documentation of this file.
59 void cartesianCoordinate(const int compressedElementIndex, std::array<int,dimension>& coords) const
77 void cartesianCoordinateLevel(const int compressedElementIndexOnLevel, std::array<int,dimension>& coordsOnLevel, int level) const
int cartesianSize() const Definition: cartesianindexmapper.hh:37 int compressedSize() const Definition: cartesianindexmapper.hh:42 CartesianIndexMapper(const Grid &grid) Definition: cartesianindexmapper.hh:27 int cartesianIndex(const int compressedElementIndex) const Definition: cartesianindexmapper.hh:53 void cartesianCoordinate(const int compressedElementIndex, std::array< int, dimension > &coords) const Definition: cartesianindexmapper.hh:59 int compressedLevelZeroSize() const Definition: cartesianindexmapper.hh:48 const std::array< int, dimension > & cartesianDimensions() const Definition: cartesianindexmapper.hh:32 void cartesianCoordinateLevel(const int compressedElementIndexOnLevel, std::array< int, dimension > &coordsOnLevel, int level) const Definition: cartesianindexmapper.hh:77 Interface class to access the logical Cartesian grid as used in industry standard simulator decks. Definition: common/CartesianIndexMapper.hpp:16 int cartesianIndex(const int) const return index of the cells in the logical Cartesian grid Definition: common/CartesianIndexMapper.hpp:53 int compressedSize() const return number of cells in the active grid Definition: common/CartesianIndexMapper.hpp:41 const std::array< int, dimension > & cartesianDimensions() const return Cartesian dimensions, i.e. number of cells in each direction Definition: common/CartesianIndexMapper.hpp:28 static const int dimension dimension of the grid Definition: common/CartesianIndexMapper.hpp:19 void cartesianCoordinate(const int, std::array< int, dimension > &) const return Cartesian coordinate, i.e. IJK, for a given cell Definition: common/CartesianIndexMapper.hpp:59 int size(int, int codim) const obtain number of entites on a level Definition: grid.hh:427 const std::array< int, 3 > & logicalCartesianSize() const Definition: grid.hh:844 The namespace Dune is the main namespace for all Dune code. Definition: common/CartesianIndexMapper.hpp:10 |