Helper class to construct SCVs and SCVFs for the diamond scheme.
#include <dumux/discretization/facecentered/diamond/geometryhelper.hh>
|
| | DiamondGeometryHelper (const typename Element::Geometry &geo) |
| |
| ScvCornerStorage | getScvCorners (unsigned int localFacetIndex) const |
| | Create a corner storage with the scv corners for a given face (codim-1) index. More...
|
| |
| ScvfCornerStorage | getScvfCorners (unsigned int localEdgeIndex) const |
| | Create a corner storage with the scvf corners for a given edge (codim-2) index. More...
|
| |
| ScvfCornerStorage | getBoundaryScvfCorners (unsigned int localFacetIndex) const |
| | Create the sub control volume face geometries on the boundary for a given face index. More...
|
| |
| GlobalPosition | facetCenter (unsigned int localFacetIndex) const |
| |
| std::array< LocalIndexType, 2 > | getInsideOutsideScvForScvf (unsigned int localEdgeIndex) |
| |
| std::size_t | numInteriorScvf () |
| | number of interior sub control volume faces (number of codim-2 entities) More...
|
| |
| std::size_t | numScv () |
| | number of sub control volumes (number of codim-1 entities) More...
|
| |
| template<int d = dimWorld, std::enable_if_t<(d==3), int > = 0> |
| GlobalPosition | normal (const ScvfCornerStorage &p, const std::array< LocalIndexType, 2 > &scvPair) |
| |
| template<int d = dimWorld, std::enable_if_t<(d==2), int > = 0> |
| GlobalPosition | normal (const ScvfCornerStorage &p, const std::array< LocalIndexType, 2 > &scvPair) |
| |
| const Element::Geometry & | elementGeometry () const |
| |
|
| template<class Transformation > |
| static ScvCornerStorage | getScvCorners (Dune::GeometryType type, Transformation &&trans, unsigned int localFacetIndex) |
| | Create a corner storage with the scv corners for a given face (codim-1) index. More...
|
| |
| template<class Transformation > |
| static ScvfCornerStorage | getScvfCorners (Dune::GeometryType type, Transformation &&trans, unsigned int localEdgeIndex) |
| | Create a corner storage with the scvf corners for a given edge (codim-2) index. More...
|
| |
| template<class Transformation > |
| static ScvfCornerStorage | getBoundaryScvfCorners (Dune::GeometryType type, Transformation &&trans, unsigned int localFacetIndex) |
| | Create the sub control volume face geometries on the boundary for a given face index. More...
|
| |
| template<class LocalKey > |
| static Element::Geometry::LocalCoordinate | localDofPosition (Dune::GeometryType type, const LocalKey &localKey) |
| | local dof position More...
|
| |
| static Element::Geometry::LocalCoordinate | localScvfCenter (Dune::GeometryType type, unsigned int localScvfIdx) |
| | local scvf center More...
|
| |
| static Element::Geometry::LocalCoordinate | localBoundaryScvfCenter (Dune::GeometryType type, unsigned int localFacetIndex) |
| | local boundary scvf center More...
|
| |
◆ DiamondGeometryHelper()
template<class GridView , class ScvType , class ScvfType >
◆ elementGeometry()
template<class GridView , class ScvType , class ScvfType >
◆ facetCenter()
template<class GridView , class ScvType , class ScvfType >
◆ getBoundaryScvfCorners() [1/2]
template<class GridView , class ScvType , class ScvfType >
template<class Transformation >
| static ScvfCornerStorage Dumux::DiamondGeometryHelper< GridView, ScvType, ScvfType >::getBoundaryScvfCorners |
( |
Dune::GeometryType |
type, |
|
|
Transformation && |
trans, |
|
|
unsigned int |
localFacetIndex |
|
) |
| |
|
inlinestatic |
◆ getBoundaryScvfCorners() [2/2]
template<class GridView , class ScvType , class ScvfType >
◆ getInsideOutsideScvForScvf()
template<class GridView , class ScvType , class ScvfType >
| std::array< LocalIndexType, 2 > Dumux::DiamondGeometryHelper< GridView, ScvType, ScvfType >::getInsideOutsideScvForScvf |
( |
unsigned int |
localEdgeIndex | ) |
|
|
inline |
◆ getScvCorners() [1/2]
template<class GridView , class ScvType , class ScvfType >
template<class Transformation >
| static ScvCornerStorage Dumux::DiamondGeometryHelper< GridView, ScvType, ScvfType >::getScvCorners |
( |
Dune::GeometryType |
type, |
|
|
Transformation && |
trans, |
|
|
unsigned int |
localFacetIndex |
|
) |
| |
|
inlinestatic |
◆ getScvCorners() [2/2]
template<class GridView , class ScvType , class ScvfType >
◆ getScvfCorners() [1/2]
template<class GridView , class ScvType , class ScvfType >
template<class Transformation >
| static ScvfCornerStorage Dumux::DiamondGeometryHelper< GridView, ScvType, ScvfType >::getScvfCorners |
( |
Dune::GeometryType |
type, |
|
|
Transformation && |
trans, |
|
|
unsigned int |
localEdgeIndex |
|
) |
| |
|
inlinestatic |
◆ getScvfCorners() [2/2]
template<class GridView , class ScvType , class ScvfType >
◆ localBoundaryScvfCenter()
template<class GridView , class ScvType , class ScvfType >
| static Element::Geometry::LocalCoordinate Dumux::DiamondGeometryHelper< GridView, ScvType, ScvfType >::localBoundaryScvfCenter |
( |
Dune::GeometryType |
type, |
|
|
unsigned int |
localFacetIndex |
|
) |
| |
|
inlinestatic |
◆ localDofPosition()
template<class GridView , class ScvType , class ScvfType >
template<class LocalKey >
| static Element::Geometry::LocalCoordinate Dumux::DiamondGeometryHelper< GridView, ScvType, ScvfType >::localDofPosition |
( |
Dune::GeometryType |
type, |
|
|
const LocalKey & |
localKey |
|
) |
| |
|
inlinestatic |
◆ localScvfCenter()
template<class GridView , class ScvType , class ScvfType >
| static Element::Geometry::LocalCoordinate Dumux::DiamondGeometryHelper< GridView, ScvType, ScvfType >::localScvfCenter |
( |
Dune::GeometryType |
type, |
|
|
unsigned int |
localScvfIdx |
|
) |
| |
|
inlinestatic |
◆ normal() [1/2]
template<class GridView , class ScvType , class ScvfType >
template<int d = dimWorld, std::enable_if_t<(d==3), int > = 0>
| GlobalPosition Dumux::DiamondGeometryHelper< GridView, ScvType, ScvfType >::normal |
( |
const ScvfCornerStorage & |
p, |
|
|
const std::array< LocalIndexType, 2 > & |
scvPair |
|
) |
| |
|
inline |
◆ normal() [2/2]
template<class GridView , class ScvType , class ScvfType >
template<int d = dimWorld, std::enable_if_t<(d==2), int > = 0>
| GlobalPosition Dumux::DiamondGeometryHelper< GridView, ScvType, ScvfType >::normal |
( |
const ScvfCornerStorage & |
p, |
|
|
const std::array< LocalIndexType, 2 > & |
scvPair |
|
) |
| |
|
inline |
obtain normal vector by 90° counter-clockwise rotation of t
◆ 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: