cpgrid/CartesianIndexMapper.hpp
Go to the documentation of this file.
65 void cartesianCoordinate(const int compressedElementIndex, std::array<int,dimension>& coords) const
70 void cartesianCoordinateLevel(const int compressedElementIndexOnLevel, std::array<int,dimension>& coordsOnLevel, int level) const
int compressedLevelZeroSize() const Definition: cpgrid/CartesianIndexMapper.hpp:53 const int cartesianSize_ Definition: cpgrid/CartesianIndexMapper.hpp:21 const Grid & grid_ Definition: cpgrid/CartesianIndexMapper.hpp:20 int cartesianSize() const Definition: cpgrid/CartesianIndexMapper.hpp:43 int compressedSize() const Definition: cpgrid/CartesianIndexMapper.hpp:48 const std::array< int, dimension > & cartesianDimensions() const Definition: cpgrid/CartesianIndexMapper.hpp:38 int computeCartesianSize() const Definition: cpgrid/CartesianIndexMapper.hpp:23 CartesianIndexMapper(const Grid &grid) Definition: cpgrid/CartesianIndexMapper.hpp:32 void cartesianCoordinate(const int compressedElementIndex, std::array< int, dimension > &coords) const Definition: cpgrid/CartesianIndexMapper.hpp:65 int cartesianIndex(const int compressedElementIndex) const Definition: cpgrid/CartesianIndexMapper.hpp:59 void cartesianCoordinateLevel(const int compressedElementIndexOnLevel, std::array< int, dimension > &coordsOnLevel, int level) const Definition: cpgrid/CartesianIndexMapper.hpp:70 Interface class to access the logical Cartesian grid as used in industry standard simulator decks. Definition: common/CartesianIndexMapper.hpp:16 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 const std::vector< int > & globalCell() const int maxLevel() const Return maximum level defined in this grid. Levels are 0 and 1, maxlevel = 1 (not counting leafview),... const std::array< int, 3 > & logicalCartesianSize() const void getIJK(const int c, std::array< int, 3 > &ijk) const Extract Cartesian index triplet (i,j,k) of an active cell. const std::vector< std::shared_ptr< Dune::cpgrid::CpGridData > > & chooseData() const Returns either data_ or distributed_data_(if non empty). The namespace Dune is the main namespace for all Dune code. Definition: common/CartesianIndexMapper.hpp:10 |