3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Static Public Member Functions | List of all members
Dumux::CCMpfaHelper< GridGeometry > Class Template Reference

Helper class to get the required information on an interaction volume. More...

#include <dumux/discretization/cellcentered/mpfa/helper.hh>

Inheritance diagram for Dumux::CCMpfaHelper< GridGeometry >:

Description

template<class GridGeometry>
class Dumux::CCMpfaHelper< GridGeometry >

Helper class to get the required information on an interaction volume.

Template Parameters
GridGeometryThe finite volume grid geometry

Static Public Member Functions

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...
 

Member Function Documentation

◆ considerSecondaryIVs()

template<class GridGeometry >
static constexpr bool Dumux::CCMpfaHelper< GridGeometry >::considerSecondaryIVs ( )
inlinestaticconstexpr

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
scvfCornersContainer with the corners of the scvf
qParameterization 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: