Helper class to construct SCVs and SCVFs for the diamond scheme.
#include <dumux/discretization/facecentered/diamond/geometryhelper.hh>
|
| 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 |
|
◆ DiamondGeometryHelper()
template<class GridView , class ScvType , class ScvfType >
◆ elementGeometry()
template<class GridView , class ScvType , class ScvfType >
◆ facetCenter()
template<class GridView , class ScvType , class ScvfType >
◆ getBoundaryScvfCorners()
template<class GridView , class ScvType , class ScvfType >
◆ getInsideOutsideScvForScvf()
template<class GridView , class ScvType , class ScvfType >
std::array< LocalIndexType, 2 > Dumux::DiamondGeometryHelper< GridView, ScvType, ScvfType >::getInsideOutsideScvForScvf |
( |
unsigned int |
localEdgeIndex | ) |
|
|
inline |
◆ getScvCorners()
template<class GridView , class ScvType , class ScvfType >
◆ getScvfCorners()
template<class GridView , class ScvType , class ScvfType >
◆ normal() [1/2]
template<class GridView , class ScvType , class ScvfType >
template<int d = dimWorld, std::enable_if_t<(d==3), int > = 0>
GlobalPosition Dumux::DiamondGeometryHelper< 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::DiamondGeometryHelper< GridView, ScvType, ScvfType >::normal |
( |
const ScvfCornerStorage & |
p, |
|
|
const std::array< LocalIndexType, 2 > & |
scvPair |
|
) |
| |
|
inline |
obtain normal vector by 90° counter-clockwise rotation of t
◆ numInteriorScvf()
template<class GridView , class ScvType , class ScvfType >
◆ numScv()
template<class GridView , class ScvType , class ScvfType >
The documentation for this class was generated from the following file: