cartesianindexmapper.hh
Go to the documentation of this file.
42 class GlobalIndexDataHandle : public Dune::CommDataHandleIF< GlobalIndexDataHandle<GridView>, int >
200 void cartesianCoordinate(const int compressedElementIndex, std::array<int,dimension>& coords) const
CartesianIndexMapper(const Grid &grid, const std::array< int, dimension > &cartDims, const std::vector< int > &cartesianIndex) constructor taking grid Definition: cartesianindexmapper.hh:151 Definition: cartesianindexmapper.hh:42 size_t size(const EntityType &en) const loop over all internal data handlers and return sum of data size of given entity Definition: cartesianindexmapper.hh:112 int computeCartesianSize() const Definition: cartesianindexmapper.hh:226 int compressedSize() const return number of cells in the active grid Definition: cartesianindexmapper.hh:174 int cartesianSize() const return total number of cells in the logical Cartesian grid Definition: cartesianindexmapper.hh:168 const std::array< int, dimension > cartesianDimensions_ Definition: cartesianindexmapper.hh:236 int cartesianIndex(const int compressedElementIndex) const return index of the cells in the logical Cartesian grid Definition: cartesianindexmapper.hh:180 std::vector< int > cartesianIndex_ Definition: cartesianindexmapper.hh:237 void initialize() Definition: cartesianindexmapper.hh:119 std::unique_ptr< GlobalIndexDataHandle< GridView > > dataHandle(const GridView &gridView) Definition: cartesianindexmapper.hh:218 const std::array< int, dimension > & cartesianDimensions() const return Cartesian dimensions, i.e. number of cells in each direction Definition: cartesianindexmapper.hh:162 void gather(MessageBufferImp &buff, const EntityType &element) const loop over all internal data handlers and call gather for given entity Definition: cartesianindexmapper.hh:89 Definition: cartesianindexmapper.hh:31 Interface class to access the logical Cartesian grid as used in industry standard simulator decks... Definition: cartesianindexmapper.hh:37 const int cartesianSize_ Definition: cartesianindexmapper.hh:238 int cartesianIndex(const std::array< int, dimension > &coords) const return index of the cells in the logical Cartesian grid Definition: cartesianindexmapper.hh:187 bool contains(int dim, int codim) const Definition: cartesianindexmapper.hh:83 bool fixedsize(int dim, int codim) const Definition: cartesianindexmapper.hh:84 void finalize() Definition: cartesianindexmapper.hh:130 ~GlobalIndexDataHandle() Definition: cartesianindexmapper.hh:75 void cartesianCoordinate(const int compressedElementIndex, std::array< int, dimension > &coords) const return Cartesian coordinate, i.e. IJK, for a given cell Definition: cartesianindexmapper.hh:200 GlobalIndexDataHandle(const GridView &gridView, std::vector< int > &cartesianIndex) Definition: cartesianindexmapper.hh:61 static const int dimension dimension of the grid Definition: cartesianindexmapper.hh:148 void scatter(MessageBufferImp &buff, const EntityType &element, size_t n) loop over all internal data handlers and call scatter for given entity Definition: cartesianindexmapper.hh:98 |