Helper class to get the required information on an interaction volume.
More...
#include <dumux/discretization/cellcentered/mpfa/helper.hh>
template<class GridGeometry>
class Dumux::CCMpfaHelper< GridGeometry >
Helper class to get the required information on an interaction volume.
- Template Parameters
-
GridGeometry | The finite volume grid geometry |
|
template<class Scalar > |
static GlobalPosition | getScvfIntegrationPoint (const ScvfCornerVector &scvfCorners, Scalar q) |
| Calculates the integration point on an scvf. More...
|
|
static std::vector< bool > | findGhostVertices (const GridView &gridView, const VertexMapper &vertexMapper) |
| Returns a vector which maps true to each vertex on processor boundaries and false otherwise. More...
|
|
static constexpr bool | considerSecondaryIVs () |
|
template<typename V , typename T > |
static bool | vectorContainsValue (const V &vector, const T value) |
| returns whether or not a value exists in a vector More...
|
|
◆ considerSecondaryIVs()
template<class GridGeometry >
Returns whether or not secondary interaction volumes have to be considered in the model. This is always the case when the specified types for the interaction volumes differ.
◆ findGhostVertices()
template<class GridGeometry >
static std::vector< bool > Dumux::CCMpfaHelper< GridGeometry >::findGhostVertices |
( |
const GridView & |
gridView, |
|
|
const VertexMapper & |
vertexMapper |
|
) |
| |
|
inlinestatic |
Returns a vector which maps true to each vertex on processor boundaries and false otherwise.
- Todo:
- TODO: The name of this function is not so good, as these are not ghost vertices according to the Dune definition of ghost entities. Moreover, it should be tried to make MPFA work also with ghost entities.
◆ getScvfIntegrationPoint()
template<class GridGeometry >
template<class Scalar >
static GlobalPosition Dumux::CCMpfaHelper< GridGeometry >::getScvfIntegrationPoint |
( |
const ScvfCornerVector & |
scvfCorners, |
|
|
Scalar |
q |
|
) |
| |
|
inlinestatic |
Calculates the integration point on an scvf.
- Parameters
-
scvfCorners | Container with the corners of the scvf |
q | Parameterization of the integration point on the scvf |
◆ vectorContainsValue()
template<class GridGeometry >
template<typename V , typename T >
static bool Dumux::CCMpfaHelper< GridGeometry >::vectorContainsValue |
( |
const V & |
vector, |
|
|
const T |
value |
|
) |
| |
|
inlinestatic |
returns whether or not a value exists in a vector
The documentation for this class was generated from the following file: