A class to create sub control volume and sub control volume face geometries per element. More...
#include <dumux/discretization/box/boxgeometryhelper.hh>
A class to create sub control volume and sub control volume face geometries per element.
Public Member Functions | |
BoxGeometryHelper (const typename Element::Geometry &geometry) | |
ScvCornerStorage | getScvCorners (unsigned int localScvIdx) const |
Create a vector with the scv corners. More... | |
ScvfCornerStorage | getScvfCorners (unsigned int localScvfIdx) const |
Create a vector with the scvf corners. More... | |
ScvfCornerStorage | getBoundaryScvfCorners (unsigned localFacetIndex, unsigned int indexInFacet) const |
Create the sub control volume face geometries on the boundary. More... | |
ScvfCornerStorage | getBoundaryScvfCorners (const Intersection &is, const typename Intersection::Geometry &isGeometry, unsigned int indexInIntersection) const |
Create the sub control volume face geometries on the boundary. More... | |
GlobalPosition | normal (const ScvfCornerStorage &p, const std::vector< unsigned int > &scvIndices) const |
get scvf normal vector More... | |
Scalar | scvVolume (const ScvCornerStorage &p) const |
get scv volume More... | |
Scalar | scvfArea (const ScvfCornerStorage &p) const |
get scvf area More... | |
std::size_t | numInteriorScvf () const |
number of sub control volume faces (number of edges) More... | |
std::size_t | numScv () const |
number of sub control volumes (number of vertices) More... | |
const Element::Geometry & | elementGeometry () const |
the wrapped element geometry More... | |
|
inline |
|
inline |
the wrapped element geometry
|
inline |
Create the sub control volume face geometries on the boundary.
|
inline |
Create the sub control volume face geometries on the boundary.
|
inline |
Create a vector with the scv corners.
|
inline |
Create a vector with the scvf corners.
|
inline |
get scvf normal vector
|
inline |
number of sub control volume faces (number of edges)
|
inline |
number of sub control volumes (number of vertices)
|
inline |
get scvf area
|
inline |
get scv volume