Opm::LookUpCellCentroid< Grid, GridView > Struct Template Reference
Detailed Descriptiontemplate<typename Grid, typename GridView> struct Opm::LookUpCellCentroid< Grid, GridView > LookUpCellCentroid struct - To search cell centroids via element index Instead of using a specialitation for Dune::CpGrid, we implement std::enable_if to overload methods with different definitions: for Dune:CpGrid and for other Grid types. An auxiliary defualt template parameter (GridType = Grid) is added to deal with the dependent names at template instantiation. Constructor & Destructor Documentation◆ LookUpCellCentroid()
template<typename Grid , typename GridView >
: Constructor taking a GridView, CartesianMapper
Member Function Documentation◆ operator()() [1/2]
template<typename Grid , typename GridView >
template<typename GridType >
: Call operator For grids different from Dune::CpGrid, it takes an element index, and returns its cell centroid, from an EclipseGrid.
◆ operator()() [2/2]
template<typename Grid , typename GridView >
template<typename GridType >
: Call operator For Dune::CpGrid, it returns a function, taking an integer, returning cell centroid, computed as in Eclipse.
Member Data Documentation◆ cartMapper_
template<typename Grid , typename GridView >
◆ eclGrid_
template<typename Grid , typename GridView >
◆ gridView_
template<typename Grid , typename GridView >
The documentation for this struct was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||