GridHelpers.hpp
Go to the documentation of this file.
236 int faceTag(const UnstructuredGrid& grid, boost::iterator_range<const int*>::const_iterator cell_face);
The mapping of the grid type to type of the iterator over the cell volumes. Definition: GridHelpers.hpp:172 BaseRowType::size_type size_type Definition: GridHelpers.hpp:43 const double * ValueType Definition: GridHelpers.hpp:130 IntRange(const int *start_arg, const int *end_arg) Definition: GridHelpers.hpp:46 std::size_t noEntries() const Get the number of non-zero entries. Definition: GridHelpers.hpp:79 boost::iterator_range< const int * > row_type The type of the roww. Definition: GridHelpers.hpp:51 const double * beginCellVolumes(const UnstructuredGrid &grid) Get an iterator over the cell volumes of a grid positioned at the first cell. Definition: grid.h:98 double getCoordinate(T *cc, int i) Get the i-th corrdinate of a centroid. Definition: GridHelpers.hpp:337 FaceCellTraits< UnstructuredGrid >::Type faceCells(const UnstructuredGrid &grid) Get the face to cell mapping of a grid. Definition: AnisotropicEikonal.hpp:43 Definition: GridHelpers.hpp:281 FaceCellsProxy Type Definition: GridHelpers.hpp:306 Face2VerticesTraits< UnstructuredGrid >::Type face2Vertices(const UnstructuredGrid &grid) Get the face to vertices mapping of a grid. FaceCellsProxy(const UnstructuredGrid &grid) Definition: GridHelpers.hpp:284 int value_type Definition: GridHelpers.hpp:44 int faceTag(const UnstructuredGrid &grid, boost::iterator_range< const int * >::const_iterator cell_face) Get Eclipse Cartesian tag of a face. Maps the grid type to the associated type of the face to vertices mapping. Definition: GridHelpers.hpp:258 Traits of the face centroids of a grid. Definition: GridHelpers.hpp:200 const double * cellCentroid(const UnstructuredGrid &grid, int cell_index) Get the centroid of a cell. const double * faceNormal(const UnstructuredGrid &grid, int face_index) Get the normal of a face. int numCells(const UnstructuredGrid &grid) Get the number of cells of a grid. int numFaces(const UnstructuredGrid &grid) Get the number of faces of a grid. row_type operator[](std::size_t row) const Get a row of the the table. Definition: GridHelpers.hpp:65 Traits of the cell centroids of a grid. Definition: GridHelpers.hpp:122 const int * globalCell(const UnstructuredGrid &grid) Get the local to global index mapping. CellCentroidTraits< UnstructuredGrid >::IteratorType beginCellCentroids(const UnstructuredGrid &grid) Get an iterator over the cell centroids positioned at the first cell. const int * cartDims(const UnstructuredGrid &grid) Get the cartesion dimension of the underlying structured grid. double cellCentroidCoordinate(const UnstructuredGrid &grid, int cell_index, int coordinate) Get a coordinate of a specific cell centroid. int dimensions(const UnstructuredGrid &grid) Get the dimensions of a grid. const double * IteratorType Definition: GridHelpers.hpp:179 double cellVolume(const UnstructuredGrid &grid, int cell_index) Get the volume of a cell. const double * ValueType Definition: GridHelpers.hpp:208 boost::iterator_range< const int * > BaseRowType Definition: GridHelpers.hpp:42 int operator()(int face_index, int local_index) const Definition: GridHelpers.hpp:287 Maps the grid type to the associated type of the cell to faces mapping. Definition: GridHelpers.hpp:243 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:318 const double * IteratorType Definition: GridHelpers.hpp:129 std::size_t size() const Get the size of the table. Definition: GridHelpers.hpp:73 FaceCentroidTraits< UnstructuredGrid >::IteratorType beginFaceCentroids(const UnstructuredGrid &grid) Get an iterator over the face centroids positioned at the first cell. const double * IteratorType Definition: GridHelpers.hpp:207 double cellCenterDepth(const UnstructuredGrid &grid, int cell_index) Get vertical position of cell center ("zcorn" average.) Definition: GridHelpers.hpp:39 SparseTableView(int *data, int *offset, std::size_t size_arg) Creates a sparse table view. Definition: GridHelpers.hpp:58 SparseTableView Type Definition: GridHelpers.hpp:250 Cell2FacesTraits< UnstructuredGrid >::Type cell2Faces(const UnstructuredGrid &grid) Get the cell to faces mapping of a grid. Allows viewing a sparse table consisting out of C-array. Definition: GridHelpers.hpp:36 const double * faceCentroid(const UnstructuredGrid &grid, int face_index) Get the cell centroid of a face. Traits of the face to attached cell mappping of a grid. Definition: GridHelpers.hpp:300 const double * endCellVolumes(const UnstructuredGrid &grid) Get an iterator over the cell volumes of a grid positioned after the last cell. const double * vertexCoordinates(const UnstructuredGrid &grid, int index) Get the coordinates of a vertex of the grid. double faceArea(const UnstructuredGrid &grid, int face_index) Get the area of a face. int numCellFaces(const UnstructuredGrid &grid) Get the number of faces, where each face counts as many times as there are adjacent faces... SparseTableView Type Definition: GridHelpers.hpp:265 |