cpgrid/GridHelpers.hpp
Go to the documentation of this file.
333 : public Dune::RandomAccessIteratorFacade<CpGridCentroidIterator<Method>, Dune::FieldVector<double, 3>,
int faceCell(int face, int local_index) const Get the index identifying a cell attached to a face. Definition: cpgrid/GridHelpers.hpp:295 Cell2FacesRow row_type Definition: cpgrid/GridHelpers.hpp:297 std::size_t noEntries() const Get the number of non-zero entries. Definition: cpgrid/GridHelpers.hpp:310 Cell2FacesContainer(const Dune::CpGrid *grid) Definition: cpgrid/GridHelpers.hpp:299 Cell2FacesRow operator[](int cell_index) const Definition: cpgrid/GridHelpers.hpp:303 Definition: cpgrid/GridHelpers.hpp:235 iterator(const Dune::cpgrid::OrientedEntityTable< 0, 1 >::row_type &row, int index, int cell_index) Definition: cpgrid/GridHelpers.hpp:237 int getCellIndex() const Definition: cpgrid/GridHelpers.hpp:249 int elementAt(int n) const Definition: cpgrid/GridHelpers.hpp:245 int dereference() const Definition: cpgrid/GridHelpers.hpp:241 Definition: cpgrid/GridHelpers.hpp:230 iterator const_iterator Definition: cpgrid/GridHelpers.hpp:265 const_iterator begin() const Definition: cpgrid/GridHelpers.hpp:272 Cell2FacesRow(const Dune::cpgrid::OrientedEntityTable< 0, 1 >::row_type &row, const int cell_index) Definition: cpgrid/GridHelpers.hpp:267 A class representing the face to cells mapping similar to the way done in UnstructuredGrid. Definition: cpgrid/GridHelpers.hpp:62 FaceCellsContainerProxy(const Dune::CpGrid *grid) Constructor. Definition: cpgrid/GridHelpers.hpp:68 int operator()(int cell_index, int local_index) const Get a face associated with a cell. Definition: cpgrid/GridHelpers.hpp:82 FaceCellsProxy operator[](int cell_index) const Get the mapping for a cell. Definition: cpgrid/GridHelpers.hpp:73 FaceCellsProxy row_type Definition: cpgrid/GridHelpers.hpp:64 A proxy class representing a row of FaceCellsContainer. Definition: cpgrid/GridHelpers.hpp:41 FaceCellsProxy(const Dune::CpGrid *grid, int cell_index) Constructor. Definition: cpgrid/GridHelpers.hpp:46 int operator[](int local_index) Get the index of the cell associated with a local_index. Definition: cpgrid/GridHelpers.hpp:50 A class representing the face to vertices mapping similar to the way done in UnstructuredGrid. Definition: cpgrid/GridHelpers.hpp:220 FaceVerticesContainerProxy(const Dune::CpGrid *grid) Constructor. Definition: cpgrid/GridHelpers.hpp:224 Definition: cpgrid/GridHelpers.hpp:92 int distanceTo(const IndexIterator &o) const Definition: cpgrid/GridHelpers.hpp:110 bool equals(const IndexIterator &o) const Definition: cpgrid/GridHelpers.hpp:114 IndexIterator(int index) Definition: cpgrid/GridHelpers.hpp:94 A class representing the sparse mapping of entity relations (e.g. vertices of faces). Definition: cpgrid/GridHelpers.hpp:189 LocalIndexContainerProxy(const Dune::CpGrid *grid) Constructor. Definition: cpgrid/GridHelpers.hpp:194 row_type operator[](int cell_index) const Get the mapping for a cell. Definition: cpgrid/GridHelpers.hpp:199 LocalIndexProxy< AccessMethod, SizeMethod > row_type Definition: cpgrid/GridHelpers.hpp:191 int operator()(int cell_index, int local_index) const Get a face associated with a cell. Definition: cpgrid/GridHelpers.hpp:208 Definition: cpgrid/GridHelpers.hpp:136 iterator(const Dune::CpGrid *grid, int outer_index, int inner_index) Definition: cpgrid/GridHelpers.hpp:138 int elementAt(int n) const Definition: cpgrid/GridHelpers.hpp:145 int dereference() const Definition: cpgrid/GridHelpers.hpp:141 A proxy class representing a row of LocalIndexContainerProxy. Definition: cpgrid/GridHelpers.hpp:131 LocalIndexProxy(const Dune::CpGrid *grid, int cell_index) Constructor. Definition: cpgrid/GridHelpers.hpp:159 iterator const_iterator Definition: cpgrid/GridHelpers.hpp:154 int operator[](int local_index) Get the index of the cell associated with a local_index. Definition: cpgrid/GridHelpers.hpp:163 A class used as a row type for OrientedEntityTable. Definition: OrientedEntityTable.hpp:55 An iterator over the cell volumes. Definition: cpgrid/GridHelpers.hpp:464 CellVolumeIterator(const Dune::CpGrid &grid, int cell_index) Creates an iterator. Definition: cpgrid/GridHelpers.hpp:469 void decrement() Definition: cpgrid/GridHelpers.hpp:489 void increment() Definition: cpgrid/GridHelpers.hpp:477 bool equals(const CellVolumeIterator &o) const Definition: cpgrid/GridHelpers.hpp:497 void advance(int n) Definition: cpgrid/GridHelpers.hpp:485 int distanceTo(const CellVolumeIterator &o) const Definition: cpgrid/GridHelpers.hpp:493 double elementAt(int n) const Definition: cpgrid/GridHelpers.hpp:481 double dereference() const Definition: cpgrid/GridHelpers.hpp:473 An iterator over the cell volumes. Definition: cpgrid/GridHelpers.hpp:335 const Dune::FieldVector< double, 3 > & dereference() const Definition: cpgrid/GridHelpers.hpp:344 const Dune::FieldVector< double, 3 > & elementAt(int n) const Definition: cpgrid/GridHelpers.hpp:352 CpGridCentroidIterator(const Dune::CpGrid &grid, int cell_index) Creates an iterator. Definition: cpgrid/GridHelpers.hpp:340 void decrement() Definition: cpgrid/GridHelpers.hpp:360 bool equals(const CpGridCentroidIterator &o) const Definition: cpgrid/GridHelpers.hpp:368 int distanceTo(const CpGridCentroidIterator &o) const Definition: cpgrid/GridHelpers.hpp:364 void increment() Definition: cpgrid/GridHelpers.hpp:348 void advance(int n) Definition: cpgrid/GridHelpers.hpp:356 The namespace Dune is the main namespace for all Dune code. Definition: common/CartesianIndexMapper.hpp:10 double faceArea(const Dune::CpGrid &grid, int face_index) Dune::cpgrid::Cell2FacesContainer cell2Faces(const Dune::CpGrid &grid) Get the cell to faces mapping of a grid. double cellCenterDepth(const Dune::CpGrid &grid, int cell_index) Get vertical position of cell center ("zcorn" average). const FaceCentroidTraits< Dune::CpGrid >::ValueType & faceCentroid(const Dune::CpGrid &grid, int face_index) Get a coordinate of a specific face centroid. int faceTag(const Dune::CpGrid &grid, const Dune::cpgrid::Cell2FacesRow::iterator &cell_face) Get Eclipse Cartesian tag of a face. Vector faceAreaNormalEcl(const Dune::CpGrid &grid, int face_index) Get a area weighted normal vector of a specific face. CellVolumeIterator beginCellVolumes(const Dune::CpGrid &grid) Get an iterator over the cell volumes of a grid positioned at the first cell. Vector faceCenterEcl(const Dune::CpGrid &grid, int cell_index, int face_tag) Get a coordinate of a specific face center. const double * cellCentroid(const Dune::CpGrid &grid, int cell_index) Get the centroid of a cell. CellVolumeIterator endCellVolumes(const Dune::CpGrid &grid) Get an iterator over the cell volumes of a grid positioned one after the last cell. FaceCentroidTraits< Dune::CpGrid >::IteratorType beginFaceCentroids(const Dune::CpGrid &grid) Get an iterator over the face centroids positioned at the first cell. Face2VerticesTraits< Dune::CpGrid >::Type face2Vertices(const Dune::CpGrid &grid) Get the face to vertices mapping of a grid. double cellCentroidCoordinate(const Dune::CpGrid &grid, int cell_index, int coordinate) Get a coordinate of a specific cell centroid. Dune::FieldVector< double, 3 > Vector Definition: cpgrid/GridHelpers.hpp:385 const int * cartDims(const Dune::CpGrid &grid) Get the cartesion dimension of the underlying structured grid. int numCells(const Dune::CpGrid &grid) Get the number of cells of a grid. const int * globalCell(const Dune::CpGrid &) Get the local to global index mapping. FaceCellTraits< Dune::CpGrid >::Type faceCells(const Dune::CpGrid &grid) Get the face to cell mapping of a grid. int numFaces(const Dune::CpGrid &grid) Get the number of faces of a grid. CellCentroidTraits< Dune::CpGrid >::IteratorType beginCellCentroids(const Dune::CpGrid &grid) int numCellFaces(const Dune::CpGrid &grid) Get the number of faces, where each face counts as many times as there are adjacent faces. double cellVolume(const Dune::CpGrid &grid, int cell_index) Get the volume of a cell. const double * vertexCoordinates(const Dune::CpGrid &grid, int index) Get the coordinates of a vertex of the grid. const double * faceNormal(const Dune::CpGrid &grid, int face_index) Definition: cpgrid/GridHelpers.hpp:327 Dune::cpgrid::Cell2FacesContainer Type Definition: cpgrid/GridHelpers.hpp:328 const double * ValueType Definition: cpgrid/GridHelpers.hpp:382 CpGridCentroidIterator<&Dune::CpGrid::cellCentroid > IteratorType Definition: cpgrid/GridHelpers.hpp:381 Traits of the cell centroids of a grid. Definition: GridHelpers.hpp:129 CellVolumeIterator IteratorType Definition: cpgrid/GridHelpers.hpp:510 The mapping of the grid type to type of the iterator over the cell volumes. Definition: GridHelpers.hpp:194 Dune::cpgrid::FaceVerticesContainerProxy Type Definition: cpgrid/GridHelpers.hpp:552 Maps the grid type to the associated type of the face to vertices mapping. Definition: GridHelpers.hpp:295 Dune::cpgrid::FaceCellsContainerProxy Type Definition: cpgrid/GridHelpers.hpp:540 Traits of the face to attached cell mappping of a grid. Definition: GridHelpers.hpp:337 CpGridCentroidIterator<&Dune::CpGrid::faceCentroid > IteratorType Definition: cpgrid/GridHelpers.hpp:522 const Dune::CpGrid::Vector ValueType Definition: cpgrid/GridHelpers.hpp:523 Traits of the face centroids of a grid. Definition: GridHelpers.hpp:244 |