Dimension-specific mpfa helper class for dim == 3 & dimWorld == 3.
More...
#include <dumux/discretization/cellcentered/mpfa/helper.hh>
template<class GridGeometry>
class Dumux::MpfaDimensionHelper< GridGeometry, 3, 3 >
Dimension-specific mpfa helper class for dim == 3 & dimWorld == 3.
|
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. This is equal to the cross product for dim = dimWorld = 2. 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. Overload this function if you want to use different geometry types. More...
|
|
template<class ScvBasis > |
static bool | isRightHandSystem (const ScvBasis &scvBasis) |
| Checks whether or not a given scv basis forms a right hand system. 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: facet corners, 3: edge centers. 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. This is equal to the cross product for dim = dimWorld = 2.
- 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, 3, 3 >::computeScvfCornersOnIntersection |
( |
const ElementGeometry & |
eg, |
|
|
const ReferenceElement & |
refElement, |
|
|
unsigned int |
indexInElement, |
|
|
unsigned int |
numCorners |
|
) |
| |
|
inlinestatic |
Returns a vector containing the positions on a given intersection that are relevant for scvf corner computation. Ordering -> 1: facet center, 2: facet corners, 3: edge centers.
- 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. Overload 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, 3, 3 >::getScvfCorners |
( |
const ScvfPositionsOnIntersection & |
p, |
|
|
unsigned int |
numIntersectionCorners, |
|
|
unsigned int |
cornerIdx |
|
) |
| |
|
inlinestatic |
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 |
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.
- Parameters
-
scvBasis | The basis of an scv |
The documentation for this class was generated from the following file: