3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Dumux::FaceCenteredStaggeredGeometryHelper< GridView > Class Template Reference

#include <dumux/discretization/facecentered/staggered/geometryhelper.hh>

Public Member Functions

 FaceCenteredStaggeredGeometryHelper (const GridView &gridView)
 
auto intersection (const SmallLocalIndexType localFacetIdx, const Element &element) const
 Returns an element's intersection based on the local facet index. More...
 
const GridView & gridView () const
 

Static Public Member Functions

static constexpr SmallLocalIndexType localOppositeIdx (const SmallLocalIndexType ownLocalFaceIndex)
 Returns the local index of the opposing face. More...
 
static constexpr int lateralOrthogonalScvfLocalIndex (const SmallLocalIndexType ownLocalScvfIndex)
 Return the local index of a lateral orthogonal scvf. More...
 
static constexpr auto localLaterFaceIndices (const SmallLocalIndexType ownLocalFaceIndex)
 Returns the local indices of the faces lateral to the own one. More...
 
static Facet facet (const SmallLocalIndexType localFacetIdx, const Element &element)
 Returns an element's facet based on the local facet index. More...
 
template<class FVElementGeometry , class SubControlVolumeFace >
static bool scvfIntegrationPointInConcaveCorner (const FVElementGeometry &fvGeometry, const SubControlVolumeFace &scvf)
 Returns true if the IP of an scvf lies on a concave corner. More...
 
template<class SubControlVolumeFace , class SubControlVolume >
static SmallLocalIndexType localIndexOutsideScvfWithSameIntegrationPoint (const SubControlVolumeFace &scvf, const SubControlVolume &scv)
 
template<class FVElementGeometry , class SubControlVolumeFace >
static const SubControlVolumeFace & outsideScvfWithSameIntegrationPoint (const FVElementGeometry &fvGeometry, const SubControlVolumeFace &scvf)
 

Static Public Attributes

static constexpr auto dim = GridView::Grid::dimension
 
static constexpr auto numElementFaces = dim * 2
 
static constexpr auto numLateralFacesPerScv = 2 * (dim - 1)
 

Constructor & Destructor Documentation

◆ FaceCenteredStaggeredGeometryHelper()

template<class GridView >
Dumux::FaceCenteredStaggeredGeometryHelper< GridView >::FaceCenteredStaggeredGeometryHelper ( const GridView &  gridView)
inline

Member Function Documentation

◆ facet()

template<class GridView >
static Facet Dumux::FaceCenteredStaggeredGeometryHelper< GridView >::facet ( const SmallLocalIndexType  localFacetIdx,
const Element &  element 
)
inlinestatic

Returns an element's facet based on the local facet index.

◆ gridView()

template<class GridView >
const GridView & Dumux::FaceCenteredStaggeredGeometryHelper< GridView >::gridView ( ) const
inline

◆ intersection()

template<class GridView >
auto Dumux::FaceCenteredStaggeredGeometryHelper< GridView >::intersection ( const SmallLocalIndexType  localFacetIdx,
const Element &  element 
) const
inline

Returns an element's intersection based on the local facet index.

◆ lateralOrthogonalScvfLocalIndex()

template<class GridView >
static constexpr int Dumux::FaceCenteredStaggeredGeometryHelper< GridView >::lateralOrthogonalScvfLocalIndex ( const SmallLocalIndexType  ownLocalScvfIndex)
inlinestaticconstexpr

Return the local index of a lateral orthogonal scvf.

◆ localIndexOutsideScvfWithSameIntegrationPoint()

template<class GridView >
template<class SubControlVolumeFace , class SubControlVolume >
static SmallLocalIndexType Dumux::FaceCenteredStaggeredGeometryHelper< GridView >::localIndexOutsideScvfWithSameIntegrationPoint ( const SubControlVolumeFace &  scvf,
const SubControlVolume &  scv 
)
inlinestatic

◆ localLaterFaceIndices()

template<class GridView >
static constexpr auto Dumux::FaceCenteredStaggeredGeometryHelper< GridView >::localLaterFaceIndices ( const SmallLocalIndexType  ownLocalFaceIndex)
inlinestaticconstexpr

Returns the local indices of the faces lateral to the own one.

◆ localOppositeIdx()

template<class GridView >
static constexpr SmallLocalIndexType Dumux::FaceCenteredStaggeredGeometryHelper< GridView >::localOppositeIdx ( const SmallLocalIndexType  ownLocalFaceIndex)
inlinestaticconstexpr

Returns the local index of the opposing face.

◆ outsideScvfWithSameIntegrationPoint()

template<class GridView >
template<class FVElementGeometry , class SubControlVolumeFace >
static const SubControlVolumeFace & Dumux::FaceCenteredStaggeredGeometryHelper< GridView >::outsideScvfWithSameIntegrationPoint ( const FVElementGeometry &  fvGeometry,
const SubControlVolumeFace &  scvf 
)
inlinestatic

◆ scvfIntegrationPointInConcaveCorner()

template<class GridView >
template<class FVElementGeometry , class SubControlVolumeFace >
static bool Dumux::FaceCenteredStaggeredGeometryHelper< GridView >::scvfIntegrationPointInConcaveCorner ( const FVElementGeometry &  fvGeometry,
const SubControlVolumeFace &  scvf 
)
inlinestatic

Returns true if the IP of an scvf lies on a concave corner.

Member Data Documentation

◆ dim

template<class GridView >
constexpr auto Dumux::FaceCenteredStaggeredGeometryHelper< GridView >::dim = GridView::Grid::dimension
staticconstexpr

◆ numElementFaces

template<class GridView >
constexpr auto Dumux::FaceCenteredStaggeredGeometryHelper< GridView >::numElementFaces = dim * 2
staticconstexpr

◆ numLateralFacesPerScv

template<class GridView >
constexpr auto Dumux::FaceCenteredStaggeredGeometryHelper< GridView >::numLateralFacesPerScv = 2 * (dim - 1)
staticconstexpr

The documentation for this class was generated from the following file: