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... | |
ScvGeometry | scvGeometry (unsigned int localScvIdx) const |
ScvfCornerStorage | getScvfCorners (unsigned int localScvfIdx) const |
Create a vector with the corners of sub control volume faces. More... | |
ScvfCornerStorage | getBoundaryScvfCorners (unsigned int localFacetIndex, unsigned int) const |
Create the sub control volume face geometries on the boundary. More... | |
ScvfCornerStorage | getBoundaryScvfCorners (const Intersection &is, const typename Intersection::Geometry &geometry, unsigned int indexInIntersection) const |
Create the sub control volume face geometries on the boundary. More... | |
GlobalPosition | normal (const ScvfCornerStorage &scvfCorners, const std::vector< unsigned int > &scvIndices) const |
get scvf normal vector More... | |
Scalar | scvVolume (const ScvCornerStorage &scvCorners) const |
get scv volume More... | |
Scalar | scvfArea (const ScvfCornerStorage &scvfCorners) 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 corners of sub control volume faces.
|
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 |
|
inline |
get scv volume