Opm::AutoDiffGrid Namespace Reference

Classes

struct  ADCell2FacesTraits
 Mapping of the grid type to the type of the cell to faces mapping. More...
 
struct  ADFaceCellTraits
 Mapps a grid type to the corresponding face to cell mapping. More...
 
struct  ADFaceCellTraits< UnstructuredGrid >
 

Functions

Eigen::Array< double,
Eigen::Dynamic, 1 > 
cellCentroidsZToEigen (const UnstructuredGrid &grid)
 Get the z coordinates of the cell centroids of a grid. More...
 
void extractInternalFaces (const UnstructuredGrid &grid, Eigen::Array< int, Eigen::Dynamic, 1 > &internal_faces, Eigen::Array< int, Eigen::Dynamic, 2, Eigen::RowMajor > &nbi)
 extracts the internal faces of a grid. More...
 
ADFaceCellTraits
< UnstructuredGrid >::Type 
faceCellsToEigen (const UnstructuredGrid &grid)
 Get the face to cell mapping of a grid. More...
 

Function Documentation

Eigen::Array<double, Eigen::Dynamic, 1> Opm::AutoDiffGrid::cellCentroidsZToEigen ( const UnstructuredGrid &  grid)
void Opm::AutoDiffGrid::extractInternalFaces ( const UnstructuredGrid &  grid,
Eigen::Array< int, Eigen::Dynamic, 1 > &  internal_faces,
Eigen::Array< int, Eigen::Dynamic, 2, Eigen::RowMajor > &  nbi 
)

extracts the internal faces of a grid.

Parameters
[in]Thegrid whose internal faces we query.
[out]internal_facesThe internal faces.
[out]nbi

Referenced by Opm::HelperOps::HelperOps().

ADFaceCellTraits<UnstructuredGrid>::Type Opm::AutoDiffGrid::faceCellsToEigen ( const UnstructuredGrid &  grid)

Get the face to cell mapping of a grid.

Referenced by Opm::HelperOps::HelperOps(), and Opm::UpwindSelector< Scalar >::UpwindSelector().