GridHelpers.hpp
Go to the documentation of this file.
157Dune::FieldVector<double,3> faceCenterEcl(const UnstructuredGrid& grid, int cell_index, int face_tag);
226Opm::EclipseGrid createEclipseGrid(const UnstructuredGrid& grid, const Opm::EclipseGrid& inputGrid );
Definition: GridHelpers.hpp:318 FaceCellsProxy(const UnstructuredGrid &grid) Definition: GridHelpers.hpp:320 int operator()(int face_index, int local_index) const Definition: GridHelpers.hpp:323 Allows viewing a sparse table consisting out of C-array. Definition: GridHelpers.hpp:44 std::size_t noEntries() const Get the number of non-zero entries. Definition: GridHelpers.hpp:76 SparseTableView(int *data, int *offset, std::size_t size_arg) Creates a sparse table view. Definition: GridHelpers.hpp:54 std::size_t size() const Get the size of the table. Definition: GridHelpers.hpp:70 row_type operator[](std::size_t row) const Get a row of the the table. Definition: GridHelpers.hpp:61 T * increment(T *cc, int i, int dim) Increment an iterator over an array that reresents a dense row-major matrix with dims columns. Definition: GridHelpers.hpp:354 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. 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. 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) double getCoordinate(T *cc, int i) Get the i-th corrdinate of a centroid. Definition: GridHelpers.hpp:373 SparseTableView Type Definition: GridHelpers.hpp:286 Maps the grid type to the associated type of the cell to faces mapping. Definition: GridHelpers.hpp:280 const double * IteratorType Definition: GridHelpers.hpp:135 const double * ValueType Definition: GridHelpers.hpp:136 Traits of the cell centroids of a grid. Definition: GridHelpers.hpp:129 const double * IteratorType Definition: GridHelpers.hpp:200 The mapping of the grid type to type of the iterator over the cell volumes. Definition: GridHelpers.hpp:194 SparseTableView Type Definition: GridHelpers.hpp:301 Maps the grid type to the associated type of the face to vertices mapping. Definition: GridHelpers.hpp:295 FaceCellsProxy Type Definition: GridHelpers.hpp:342 Traits of the face to attached cell mappping of a grid. Definition: GridHelpers.hpp:337 const double * IteratorType Definition: GridHelpers.hpp:250 const double * ValueType Definition: GridHelpers.hpp:251 Traits of the face centroids of a grid. Definition: GridHelpers.hpp:244 Definition: IteratorRange.hpp:29 Definition: UnstructuredGrid.h:99 |