|
GridHelpers.hpp
Go to the documentation of this file.
155Dune::FieldVector<double,3> faceCenterEcl(const UnstructuredGrid& grid, int cell_index, int face_tag);
223Opm::EclipseGrid createEclipseGrid(const UnstructuredGrid& grid, const Opm::EclipseGrid& inputGrid );
Definition: GridHelpers.hpp:314 FaceCellsProxy(const UnstructuredGrid &grid) Definition: GridHelpers.hpp:316 int operator()(int face_index, int local_index) const Definition: GridHelpers.hpp:319 Allows viewing a sparse table consisting out of C-array. Definition: GridHelpers.hpp:44 SparseTableView(int *data, unsigned *offset, std::size_t size_arg) Creates a sparse table view. Definition: GridHelpers.hpp:54 std::size_t noEntries() const Get the number of non-zero entries. Definition: GridHelpers.hpp:76 iterator_range_pod< int > row_type The type of the roww. Definition: GridHelpers.hpp:47 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:350 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). EclipseGrid createEclipseGrid(const Dune::CpGrid &grid, const EclipseGrid &inputGrid) 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 getCoordinate(const T *cc, int i) Get the i-th corrdinate of a centroid. Definition: GridHelpers.hpp:369 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. std::vector< int > createACTNUM(const Dune::CpGrid &grid) Create Eclipse style ACTNUM array. 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) SparseTableView Type Definition: GridHelpers.hpp:282 Maps the grid type to the associated type of the cell to faces mapping. Definition: GridHelpers.hpp:276 const double * IteratorType Definition: GridHelpers.hpp:133 const double * ValueType Definition: GridHelpers.hpp:134 Traits of the cell centroids of a grid. Definition: GridHelpers.hpp:127 const double * IteratorType Definition: GridHelpers.hpp:198 The mapping of the grid type to type of the iterator over the cell volumes. Definition: GridHelpers.hpp:192 SparseTableView Type Definition: GridHelpers.hpp:297 Maps the grid type to the associated type of the face to vertices mapping. Definition: GridHelpers.hpp:291 FaceCellsProxy Type Definition: GridHelpers.hpp:338 Traits of the face to attached cell mappping of a grid. Definition: GridHelpers.hpp:333 const double * IteratorType Definition: GridHelpers.hpp:246 const double * ValueType Definition: GridHelpers.hpp:247 Traits of the face centroids of a grid. Definition: GridHelpers.hpp:240 Definition: UnstructuredGrid.h:101 |