Dimension-specific mpfa helper class for dim == 2 & dimWorld == 3. Reuses some functionality of the specialization for dim = dimWorld = 2.
More...
#include <dumux/discretization/cellcentered/mpfa/helper.hh>
template<class GridGeometry>
class Dumux::MpfaDimensionHelper< GridGeometry, 2, 3 >
Dimension-specific mpfa helper class for dim == 2 & dimWorld == 3. Reuses some functionality of the specialization for dim = dimWorld = 2.
|
template<class ScvBasis > |
static ScvBasis | calculateInnerNormals (const ScvBasis &scvBasis) |
| Calculates the inner normal vectors to a given scv basis. More...
|
|
template<class ScvBasis > |
static CoordScalar | calculateDetX (const ScvBasis &scvBasis) |
| Calculates the determinant of an scv basis. For dim = 2 < dimWorld = 3 this is actually not the determinant of the basis but it is simply the area of the parallelofram spanned by the basis vectors. More...
|
|
template<class ScvBasis > |
static constexpr bool | isRightHandSystem (const ScvBasis &scvBasis) |
| Checks whether or not a given scv basis forms a right hand system. Note that for dim = 2 < dimWorld = 3 the bases forming a right hand system are not unique. More...
|
|
static std::size_t | getGlobalNumScvf (const GridView &gridView) |
| Returns the global number of scvfs in the grid. Assumes the grid to be made up of only basic geometry types. Overlad this function if you want to use different geometry types. More...
|
|
template<class ElementGeometry , class ReferenceElement > |
static ScvfPositionsOnIntersection | computeScvfCornersOnIntersection (const ElementGeometry &eg, const ReferenceElement &refElement, unsigned int indexInElement, unsigned int numCorners) |
| Returns a vector containing the positions on a given intersection that are relevant for scvf corner computation. Ordering -> 1: facet center, 2: the two facet corners. More...
|
|
static ScvfCornerVector | getScvfCorners (const ScvfPositionsOnIntersection &p, unsigned int numIntersectionCorners, unsigned int cornerIdx) |
| Returns the corners of the sub control volume face constructed in a corner (vertex) of an intersection. More...
|
|
static CoordScalar | computeScvfArea (const ScvfCornerVector &scvfCorners) |
| Calculates the area of an scvf. More...
|
|
static std::size_t | getNumLocalScvfs (const Dune::GeometryType >) |
| Calculates the number of scvfs in a given element geometry type. More...
|
|
◆ calculateDetX()
template<class GridGeometry >
template<class ScvBasis >
Calculates the determinant of an scv basis. For dim = 2 < dimWorld = 3 this is actually not the determinant of the basis but it is simply the area of the parallelofram spanned by the basis vectors.
- Parameters
-
scvBasis | The basis of an scv |
◆ calculateInnerNormals()
template<class GridGeometry >
template<class ScvBasis >
Calculates the inner normal vectors to a given scv basis.
- Parameters
-
scvBasis | The basis of an scv |
◆ computeScvfArea()
template<class GridGeometry >
Calculates the area of an scvf.
- Parameters
-
scvfCorners | Container with the corners of the scvf |
◆ computeScvfCornersOnIntersection()
template<class GridGeometry >
template<class ElementGeometry , class ReferenceElement >
static ScvfPositionsOnIntersection Dumux::MpfaDimensionHelper< GridGeometry, 2, 2 >::computeScvfCornersOnIntersection |
( |
const ElementGeometry & |
eg, |
|
|
const ReferenceElement & |
refElement, |
|
|
unsigned int |
indexInElement, |
|
|
unsigned int |
numCorners |
|
) |
| |
|
inlinestaticinherited |
Returns a vector containing the positions on a given intersection that are relevant for scvf corner computation. Ordering -> 1: facet center, 2: the two facet corners.
- Parameters
-
eg | Geometry of the element the facet is embedded in |
refElement | Reference element of the element the facet is embedded in |
indexInElement | The local index of the facet in the element |
numCorners | The number of corners on the facet |
◆ getGlobalNumScvf()
template<class GridGeometry >
Returns the global number of scvfs in the grid. Assumes the grid to be made up of only basic geometry types. Overlad this function if you want to use different geometry types.
- Parameters
-
gridView | The grid view to be checked |
◆ getNumLocalScvfs()
template<class GridGeometry >
Calculates the number of scvfs in a given element geometry type.
- Parameters
-
gt | The element geometry type |
◆ getScvfCorners()
template<class GridGeometry >
static ScvfCornerVector Dumux::MpfaDimensionHelper< GridGeometry, 2, 2 >::getScvfCorners |
( |
const ScvfPositionsOnIntersection & |
p, |
|
|
unsigned int |
numIntersectionCorners, |
|
|
unsigned int |
cornerIdx |
|
) |
| |
|
inlinestaticinherited |
Returns the corners of the sub control volume face constructed in a corner (vertex) of an intersection.
- Parameters
-
p | Container with all scvf corners of the intersection |
numIntersectionCorners | Number of corners of the intersection (required in 3d) |
cornerIdx | Local vertex index on the intersection |
◆ isRightHandSystem()
template<class GridGeometry >
template<class ScvBasis >
Checks whether or not a given scv basis forms a right hand system. Note that for dim = 2 < dimWorld = 3 the bases forming a right hand system are not unique.
- Parameters
-
scvBasis | The basis of an scv |
The documentation for this class was generated from the following file: