Helper class to construct SCVs and SCVFs for the diamond scheme. More...
#include <dumux/discretization/facecentered/diamond/geometryhelper.hh>
Helper class to construct SCVs and SCVFs for the diamond scheme.
Public Member Functions | |
DiamondGeometryHelper (const typename Element::Geometry &geo) | |
ScvCornerStorage | getScvCorners (unsigned int localFacetIndex) const |
Create a corner storage with the scv corners for a given face (codim-1) index. More... | |
ScvfCornerStorage | getScvfCorners (unsigned int localEdgeIndex) const |
Create a corner storage with the scvf corners for a given edge (codim-2) index. More... | |
ScvfCornerStorage | getBoundaryScvfCorners (unsigned int localFacetIndex) const |
Create the sub control volume face geometries on the boundary for a given face index. More... | |
GlobalPosition | facetCenter (unsigned int localFacetIndex) const |
std::array< LocalIndexType, 2 > | getInsideOutsideScvForScvf (unsigned int localEdgeIndex) |
std::size_t | numInteriorScvf () |
number of interior sub control volume faces (number of codim-2 entities) More... | |
std::size_t | numScv () |
number of sub control volumes (number of codim-1 entities) 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 |
|
inline |
|
inline |
|
inline |
|
inline |
Create the sub control volume face geometries on the boundary for a given face index.
|
inline |
|
inline |
Create a corner storage with the scv corners for a given face (codim-1) index.
|
inline |
Create a corner storage with the scvf corners for a given edge (codim-2) index.
|
inline |
|
inline |
obtain normal vector by 90° counter-clockwise rotation of t
|
inline |
number of interior sub control volume faces (number of codim-2 entities)
|
inline |
number of sub control volumes (number of codim-1 entities)