A class to create sub control volume and sub control volume face geometries per element.
#include <dumux/discretization/box/boxgeometryhelper.hh>
|
| 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 corners of sub control volume faces. More...
|
|
ScvfCornerStorage | getBoundaryScvfCorners (unsigned int localFacetIndex, unsigned int indexInFacet) const |
| Create the sub control volume face geometries on the boundary. More...
|
|
template<int w = dimWorld> |
std::enable_if< w==3, GlobalPosition >::type | normal (const ScvfCornerStorage &scvfCorners, const std::vector< unsigned int > &scvIndices) const |
| get scvf normal vector for dim == 2, dimworld == 3 More...
|
|
template<int w = dimWorld> |
std::enable_if< w==2, GlobalPosition >::type | normal (const ScvfCornerStorage &scvfCorners, const std::vector< unsigned int > &scvIndices) const |
| get scvf normal vector for dim == 2, dimworld == 2 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...
|
|
◆ BoxGeometryHelper()
template<class GridView , class ScvType , class ScvfType >
Dumux::BoxGeometryHelper< GridView, 2, ScvType, ScvfType >::BoxGeometryHelper |
( |
const typename Element::Geometry & |
geometry | ) |
|
|
inline |
◆ elementGeometry()
template<class GridView , class ScvType , class ScvfType >
◆ getBoundaryScvfCorners()
template<class GridView , class ScvType , class ScvfType >
ScvfCornerStorage Dumux::BoxGeometryHelper< GridView, 2, ScvType, ScvfType >::getBoundaryScvfCorners |
( |
unsigned int |
localFacetIndex, |
|
|
unsigned int |
indexInFacet |
|
) |
| const |
|
inline |
◆ getScvCorners()
template<class GridView , class ScvType , class ScvfType >
ScvCornerStorage Dumux::BoxGeometryHelper< GridView, 2, ScvType, ScvfType >::getScvCorners |
( |
unsigned int |
localScvIdx | ) |
const |
|
inline |
◆ getScvfCorners()
template<class GridView , class ScvType , class ScvfType >
ScvfCornerStorage Dumux::BoxGeometryHelper< GridView, 2, ScvType, ScvfType >::getScvfCorners |
( |
unsigned int |
localScvfIdx | ) |
const |
|
inline |
◆ normal() [1/2]
template<class GridView , class ScvType , class ScvfType >
template<int w = dimWorld>
std::enable_if< w==3, GlobalPosition >::type Dumux::BoxGeometryHelper< GridView, 2, ScvType, ScvfType >::normal |
( |
const ScvfCornerStorage & |
scvfCorners, |
|
|
const std::vector< unsigned int > & |
scvIndices |
|
) |
| const |
|
inline |
ensure the right direction of the normal
◆ normal() [2/2]
template<class GridView , class ScvType , class ScvfType >
template<int w = dimWorld>
std::enable_if< w==2, GlobalPosition >::type Dumux::BoxGeometryHelper< GridView, 2, ScvType, ScvfType >::normal |
( |
const ScvfCornerStorage & |
scvfCorners, |
|
|
const std::vector< unsigned int > & |
scvIndices |
|
) |
| const |
|
inline |
obtain normal vector by 90° counter-clockwise rotation of t
ensure the right direction of the normal
◆ 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: