version 3.10-dev
Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType > Class Template Reference

A class to create sub control volume and sub control volume face geometries per element.

#include <dumux/discretization/pq1bubble/geometryhelper.hh>

Public Member Functions

 PQ1BubbleGeometryHelper (const typename Element::Geometry &geometry)
 
ScvCornerStorage getScvCorners (unsigned int localScvIdx) const
 Create a vector with the scv corners. More...
 
Dune::GeometryType getScvGeometryType (unsigned int localScvIdx) const
 
ScvfCornerStorage getScvfCorners (unsigned int localScvfIdx) const
 Create a vector with the corners of sub control volume faces. More...
 
Dune::GeometryType getInteriorScvfGeometryType (unsigned int localScvfIdx) const
 
ScvfCornerStorage getBoundaryScvfCorners (unsigned int localFacetIndex, unsigned int indexInFacet) const
 Create the sub control volume face geometries on the boundary. More...
 
Dune::GeometryType getBoundaryScvfGeometryType (unsigned int localScvfIdx) const
 
template<int d = dimWorld, std::enable_if_t<(d==3), int > = 0>
GlobalPosition normal (const ScvfCornerStorage &p, const std::array< LocalIndexType, 2 > &scvPair)
 
template<int d = dimWorld, std::enable_if_t<(d==2), int > = 0>
GlobalPosition normal (const ScvfCornerStorage &p, const std::array< LocalIndexType, 2 > &scvPair)
 
const Element::Geometry & elementGeometry () const
 the wrapped element geometry More...
 
std::size_t numInteriorScvf () const
 number of interior sub control volume faces More...
 
std::size_t numBoundaryScvf (unsigned int localFacetIndex) const
 number of boundary sub control volume faces for face localFacetIndex More...
 
std::size_t numScv () const
 number of sub control volumes (number of codim-1 entities) More...
 
Scalar scvVolume (unsigned int localScvIdx, const ScvCornerStorage &p) const
 get scv volume More...
 
template<class DofMapper >
auto dofIndex (const DofMapper &dofMapper, const Element &element, unsigned int localScvIdx) const
 
GlobalPosition dofPosition (unsigned int localScvIdx) const
 
std::array< LocalIndexType, 2 > getScvPairForScvf (unsigned int localScvfIndex) const
 
std::array< LocalIndexType, 2 > getScvPairForBoundaryScvf (unsigned int localFacetIndex, unsigned int localIsScvfIndex) const
 
bool isOverlappingScvf (unsigned int localScvfIndex) const
 
bool isOverlappingBoundaryScvf (unsigned int localFacetIndex) const
 
bool isOverlappingScv (unsigned int localScvIndex) const
 

Constructor & Destructor Documentation

◆ PQ1BubbleGeometryHelper()

template<class GridView , class ScvType , class ScvfType >
Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::PQ1BubbleGeometryHelper ( const typename Element::Geometry &  geometry)
inline

Member Function Documentation

◆ dofIndex()

template<class GridView , class ScvType , class ScvfType >
template<class DofMapper >
auto Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::dofIndex ( const DofMapper &  dofMapper,
const Element &  element,
unsigned int  localScvIdx 
) const
inline

◆ dofPosition()

template<class GridView , class ScvType , class ScvfType >
GlobalPosition Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::dofPosition ( unsigned int  localScvIdx) const
inline

◆ elementGeometry()

template<class GridView , class ScvType , class ScvfType >
const Element::Geometry & Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::elementGeometry ( ) const
inline

◆ getBoundaryScvfCorners()

template<class GridView , class ScvType , class ScvfType >
ScvfCornerStorage Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::getBoundaryScvfCorners ( unsigned int  localFacetIndex,
unsigned int  indexInFacet 
) const
inline

◆ getBoundaryScvfGeometryType()

template<class GridView , class ScvType , class ScvfType >
Dune::GeometryType Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::getBoundaryScvfGeometryType ( unsigned int  localScvfIdx) const
inline

◆ getInteriorScvfGeometryType()

template<class GridView , class ScvType , class ScvfType >
Dune::GeometryType Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::getInteriorScvfGeometryType ( unsigned int  localScvfIdx) const
inline

◆ getScvCorners()

template<class GridView , class ScvType , class ScvfType >
ScvCornerStorage Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::getScvCorners ( unsigned int  localScvIdx) const
inline

◆ getScvfCorners()

template<class GridView , class ScvType , class ScvfType >
ScvfCornerStorage Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::getScvfCorners ( unsigned int  localScvfIdx) const
inline

◆ getScvGeometryType()

template<class GridView , class ScvType , class ScvfType >
Dune::GeometryType Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::getScvGeometryType ( unsigned int  localScvIdx) const
inline

◆ getScvPairForBoundaryScvf()

template<class GridView , class ScvType , class ScvfType >
std::array< LocalIndexType, 2 > Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::getScvPairForBoundaryScvf ( unsigned int  localFacetIndex,
unsigned int  localIsScvfIndex 
) const
inline

◆ getScvPairForScvf()

template<class GridView , class ScvType , class ScvfType >
std::array< LocalIndexType, 2 > Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::getScvPairForScvf ( unsigned int  localScvfIndex) const
inline

◆ isOverlappingBoundaryScvf()

template<class GridView , class ScvType , class ScvfType >
bool Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::isOverlappingBoundaryScvf ( unsigned int  localFacetIndex) const
inline

◆ isOverlappingScv()

template<class GridView , class ScvType , class ScvfType >
bool Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::isOverlappingScv ( unsigned int  localScvIndex) const
inline

◆ isOverlappingScvf()

template<class GridView , class ScvType , class ScvfType >
bool Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::isOverlappingScvf ( unsigned int  localScvfIndex) const
inline

◆ normal() [1/2]

template<class GridView , class ScvType , class ScvfType >
template<int d = dimWorld, std::enable_if_t<(d==3), int > = 0>
GlobalPosition Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::normal ( const ScvfCornerStorage &  p,
const std::array< LocalIndexType, 2 > &  scvPair 
)
inline

◆ normal() [2/2]

template<class GridView , class ScvType , class ScvfType >
template<int d = dimWorld, std::enable_if_t<(d==2), int > = 0>
GlobalPosition Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::normal ( const ScvfCornerStorage &  p,
const std::array< LocalIndexType, 2 > &  scvPair 
)
inline

obtain normal vector by 90° counter-clockwise rotation of t

◆ numBoundaryScvf()

template<class GridView , class ScvType , class ScvfType >
std::size_t Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::numBoundaryScvf ( unsigned int  localFacetIndex) const
inline

◆ numInteriorScvf()

template<class GridView , class ScvType , class ScvfType >
std::size_t Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::numInteriorScvf ( ) const
inline

◆ numScv()

template<class GridView , class ScvType , class ScvfType >
std::size_t Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::numScv ( ) const
inline

◆ scvVolume()

template<class GridView , class ScvType , class ScvfType >
Scalar Dumux::PQ1BubbleGeometryHelper< GridView, ScvType, ScvfType >::scvVolume ( unsigned int  localScvIdx,
const ScvCornerStorage &  p 
) const
inline

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