A class to create sub control volume and sub control volume face geometries per element. More...
#include <dumux/discretization/pq1bubble/geometryhelper.hh>
A class to create sub control volume and sub control volume face geometries per element.
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... | |
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 | isOverlappingScv (unsigned int localScvIndex) const |
|
inline |
|
inline |
|
inline |
|
inline |
the wrapped element geometry
|
inline |
Create the sub control volume face geometries on the boundary.
|
inline |
|
inline |
Create a vector with the scv corners.
|
inline |
Create a vector with the corners of sub control volume faces.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
obtain normal vector by 90° counter-clockwise rotation of t
|
inline |
number of boundary sub control volume faces for face localFacetIndex
|
inline |
number of interior sub control volume faces
|
inline |
number of sub control volumes (number of codim-1 entities)
|
inline |
get scv volume