cpgrid/GridHelpers.hpp File Reference
#include <functional>
#include <opm/grid/GridHelpers.hpp>
#include <opm/grid/utility/platform_dependent/disable_warnings.h>
#include <opm/grid/CpGrid.hpp>
#include <dune/common/iteratorfacades.hh>
#include <opm/grid/utility/platform_dependent/reenable_warnings.h>
Include dependency graph for cpgrid/GridHelpers.hpp:

Go to the source code of this file.

Classes

class  Dune::cpgrid::FaceCellsProxy
 A proxy class representing a row of FaceCellsContainer. More...
 
class  Dune::cpgrid::FaceCellsContainerProxy
 A class representing the face to cells mapping similar to the way done in UnstructuredGrid. More...
 
class  Dune::cpgrid::IndexIterator
 
class  Dune::cpgrid::LocalIndexProxy< AccessMethod, SizeMethod >
 A proxy class representing a row of LocalIndexContainerProxy. More...
 
class  Dune::cpgrid::LocalIndexProxy< AccessMethod, SizeMethod >::iterator
 
class  Dune::cpgrid::LocalIndexContainerProxy< AccessMethod, SizeMethod >
 A class representing the sparse mapping of entity relations (e.g. vertices of faces). More...
 
class  Dune::cpgrid::FaceVerticesContainerProxy
 A class representing the face to vertices mapping similar to the way done in UnstructuredGrid. More...
 
class  Dune::cpgrid::Cell2FacesRow
 
class  Dune::cpgrid::Cell2FacesRow::iterator
 
class  Dune::cpgrid::Cell2FacesContainer
 
struct  Opm::UgGridHelpers::Cell2FacesTraits< Dune::CpGrid >
 
class  Opm::UgGridHelpers::CpGridCentroidIterator< Method >
 An iterator over the cell volumes. More...
 
struct  Opm::UgGridHelpers::CellCentroidTraits< Dune::CpGrid >
 
class  Opm::UgGridHelpers::CellVolumeIterator
 An iterator over the cell volumes. More...
 
struct  Opm::UgGridHelpers::CellVolumeIteratorTraits< Dune::CpGrid >
 
struct  Opm::UgGridHelpers::FaceCentroidTraits< Dune::CpGrid >
 
struct  Opm::UgGridHelpers::FaceCellTraits< Dune::CpGrid >
 
struct  Opm::UgGridHelpers::Face2VerticesTraits< Dune::CpGrid >
 

Namespaces

namespace  Dune
 The namespace Dune is the main namespace for all Dune code.
 
namespace  Dune::cpgrid
 
namespace  Opm
 Holds the implementation of the CpGrid as a pimple.
 
namespace  Opm::UgGridHelpers
 

Typedefs

typedef Dune::FieldVector< double, 3 > Opm::UgGridHelpers::Vector
 

Functions

int Opm::UgGridHelpers::numCells (const Dune::CpGrid &grid)
 Get the number of cells of a grid. More...
 
int Opm::UgGridHelpers::numFaces (const Dune::CpGrid &grid)
 Get the number of faces of a grid. More...
 
int Opm::UgGridHelpers::dimensions (const Dune::CpGrid &grid)
 Get the dimensions of a grid. More...
 
int Opm::UgGridHelpers::numCellFaces (const Dune::CpGrid &grid)
 Get the number of faces, where each face counts as many times as there are adjacent faces. More...
 
const int * Opm::UgGridHelpers::cartDims (const Dune::CpGrid &grid)
 Get the cartesion dimension of the underlying structured grid. More...
 
const int * Opm::UgGridHelpers::globalCell (const Dune::CpGrid &)
 Get the local to global index mapping. More...
 
CellCentroidTraits< Dune::CpGrid >::IteratorType Opm::UgGridHelpers::beginCellCentroids (const Dune::CpGrid &grid)
 
double Opm::UgGridHelpers::cellCentroidCoordinate (const Dune::CpGrid &grid, int cell_index, int coordinate)
 Get a coordinate of a specific cell centroid. More...
 
const double * Opm::UgGridHelpers::cellCentroid (const Dune::CpGrid &grid, int cell_index)
 Get the centroid of a cell. More...
 
double Opm::UgGridHelpers::cellCenterDepth (const Dune::CpGrid &grid, int cell_index)
 Get vertical position of cell center ("zcorn" average). More...
 
Vector Opm::UgGridHelpers::faceCenterEcl (const Dune::CpGrid &grid, int cell_index, int face_tag)
 Get a coordinate of a specific face center. More...
 
Vector Opm::UgGridHelpers::faceAreaNormalEcl (const Dune::CpGrid &grid, int face_index)
 Get a area weighted normal vector of a specific face. More...
 
double Opm::UgGridHelpers::cellVolume (const Dune::CpGrid &grid, int cell_index)
 Get the volume of a cell. More...
 
CellVolumeIterator Opm::UgGridHelpers::beginCellVolumes (const Dune::CpGrid &grid)
 Get an iterator over the cell volumes of a grid positioned at the first cell. More...
 
CellVolumeIterator Opm::UgGridHelpers::endCellVolumes (const Dune::CpGrid &grid)
 Get an iterator over the cell volumes of a grid positioned one after the last cell. More...
 
FaceCentroidTraits< Dune::CpGrid >::IteratorType Opm::UgGridHelpers::beginFaceCentroids (const Dune::CpGrid &grid)
 Get an iterator over the face centroids positioned at the first cell. More...
 
const FaceCentroidTraits< Dune::CpGrid >::ValueType & Opm::UgGridHelpers::faceCentroid (const Dune::CpGrid &grid, int face_index)
 Get a coordinate of a specific face centroid. More...
 
Dune::cpgrid::Cell2FacesContainer Opm::UgGridHelpers::cell2Faces (const Dune::CpGrid &grid)
 Get the cell to faces mapping of a grid. More...
 
FaceCellTraits< Dune::CpGrid >::Type Opm::UgGridHelpers::faceCells (const Dune::CpGrid &grid)
 Get the face to cell mapping of a grid. More...
 
Face2VerticesTraits< Dune::CpGrid >::Type Opm::UgGridHelpers::face2Vertices (const Dune::CpGrid &grid)
 Get the face to vertices mapping of a grid. More...
 
const double * Opm::UgGridHelpers::vertexCoordinates (const Dune::CpGrid &grid, int index)
 Get the coordinates of a vertex of the grid. More...
 
const double * Opm::UgGridHelpers::faceNormal (const Dune::CpGrid &grid, int face_index)
 
double Opm::UgGridHelpers::faceArea (const Dune::CpGrid &grid, int face_index)
 
int Opm::UgGridHelpers::faceTag (const Dune::CpGrid &grid, const Dune::cpgrid::Cell2FacesRow::iterator &cell_face)
 Get Eclipse Cartesian tag of a face. More...