template<class GridView, class ScvType, class ScvfType>
class Dumux::DiamondGeometryHelper< GridView, ScvType, ScvfType >
Helper class to construct SCVs and SCVFs for the diamond scheme.
|
| 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 |
|
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