Base class for cell center of face specific auxiliary FvGridGeometry classes. Provides a common interface and a pointer to the actual gridGeometry. More...
#include <dumux/discretization/staggered/fvgridgeometry.hh>
Base class for cell center of face specific auxiliary FvGridGeometry classes. Provides a common interface and a pointer to the actual gridGeometry.
Public Types | |
using | GridView = typename ActualGridGeometry::GridView |
export the GridView type and the discretization method More... | |
using | LocalView = typename ActualGridGeometry::LocalView |
Public Member Functions | |
GridGeometryView (const ActualGridGeometry *actualGridGeometry) | |
const auto & | gridView () const |
Return the gridView this grid geometry object lives on. More... | |
const auto & | connectivityMap () const |
Returns the connectivity map of which dofs have derivatives with respect to a given dof. More... | |
const auto & | vertexMapper () const |
Returns the mapper for vertices to indices for possibly adaptive grids. More... | |
const auto & | elementMapper () const |
Returns the mapper for elements to indices for constant grids. More... | |
const ActualGridGeometry & | actualGridGeometry () const |
Returns the actual gridGeometry we are a restriction of. More... | |
Static Public Member Functions | |
static constexpr bool | isCellCenter () |
Returns true if this view if related to cell centered dofs. More... | |
static constexpr bool | isFace () |
Returns true if this view if related to face dofs. More... | |
static constexpr auto | cellCenterIdx () |
Return an integral constant index for cell centered dofs. More... | |
static constexpr auto | faceIdx () |
Return an integral constant index for face dofs. More... | |
Static Public Attributes | |
static constexpr DiscretizationMethod | discMethod = DiscretizationMethod::staggered |
Protected Attributes | |
const ActualGridGeometry * | gridGeometry_ |
using Dumux::GridGeometryView< ActualGridGeometry >::GridView = typename ActualGridGeometry::GridView |
export the GridView type and the discretization method
using Dumux::GridGeometryView< ActualGridGeometry >::LocalView = typename ActualGridGeometry::LocalView |
|
inlineexplicit |
|
inline |
Returns the actual gridGeometry we are a restriction of.
|
inlinestaticconstexpr |
Return an integral constant index for cell centered dofs.
|
inline |
Returns the connectivity map of which dofs have derivatives with respect to a given dof.
|
inline |
Returns the mapper for elements to indices for constant grids.
|
inlinestaticconstexpr |
Return an integral constant index for face dofs.
|
inline |
Return the gridView this grid geometry object lives on.
|
inlinestaticconstexpr |
Returns true if this view if related to cell centered dofs.
|
inlinestaticconstexpr |
Returns true if this view if related to face dofs.
|
inline |
Returns the mapper for vertices to indices for possibly adaptive grids.
|
staticconstexpr |
|
protected |