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 (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 &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... | |
Protected Attributes | |
const Element::Geometry & | elementGeometry_ |
Reference to the element geometry. More... | |
std::size_t | corners_ |
std::array< GlobalPosition, maxPoints > | p_ |
|
inline |
|
inline |
Create the sub control volume face geometries on the boundary.
Only build the maps the first time we encounter a triangle
< vertex offset in point vector pi
< edge offset in point vector pi
Only build the maps the first time we encounter a quadrilateral
< vertex offset in point vector pi
< edge offset in point vector pi
|
inline |
Create a vector with the scv corners.
Only build the maps the first time we encounter a tetrahedron
< vertex offset in point vector p
< edge offset in point vector p
< face offset in point vector p
Only build the maps the first time we encounter a prism
< vertex offset in point vector p
< edge offset in point vector p
< face offset in point vector p
Only build the maps the first time we encounter a hexahedron
< vertex offset in point vector p
< edge offset in point vector p
< face offset in point vector p
|
inline |
Create a vector with the scvf corners.
Only build the maps the first time we encounter a tetrahedron
< edge offset in point vector p
< face offset in point vector p
Only build the maps the first time we encounter a prism
< edge offset in point vector p
< face offset in point vector p
Only build the maps the first time we encounter a hexahedron
< edge offset in point vector p
< face offset in point vector p
|
inline |
get scvf normal vector
|
inline |
get scvf area
|
inline |
get scv volume
|
protected |
|
protected |
Reference to the element geometry.
|
protected |