Base class for the interaction volumes of mpfa methods. It defines the interface and actual implementations should derive from this class.
More...
#include <dumux/discretization/cellcentered/mpfa/interactionvolumebase.hh>
template<class T>
class Dumux::CCMpfaInteractionVolumeBase< T >
Base class for the interaction volumes of mpfa methods. It defines the interface and actual implementations should derive from this class.
- Template Parameters
-
T | The traits class to be used |
|
template<class Problem , class FVElementGeometry > |
void | bind (const typename Traits::IndexSet &indexSet, const Problem &problem, const FVElementGeometry &fvGeometry) |
| Prepares everything for the assembly. More...
|
|
std::size_t | numFaces () const |
| returns the number of "primary" scvfs of this interaction volume More...
|
|
std::size_t | numUnknowns () const |
| returns the number of intermediate unknowns within this interaction volume More...
|
|
std::size_t | numKnowns () const |
| returns the number of (in this context) known solution values within this interaction volume More...
|
|
std::size_t | numScvs () const |
| returns the number of scvs embedded in this interaction volume More...
|
|
template<class FVElementGeometry > |
ScvGeometry | computeScvGeometry (LocalIndexType ivLocalScvIdx, const FVElementGeometry &fvGeometry) |
| returns the geometry of the i-th local scv More...
|
|
const std::vector< typename Traits::LocalFaceData > & | localFaceData () const |
|
const NodalStencilType & | stencil () const |
| returns the cell-stencil of this interaction volume More...
|
|
const LocalScvfType & | localScvf (LocalIndexType ivLocalScvfIdx) const |
| returns the local scvf entity corresponding to a given iv-local scvf idx More...
|
|
const LocalScvType & | localScv (LocalIndexType ivLocalScvIdx) const |
| returns the local scv entity corresponding to a given iv-local scv idx More...
|
|
const Element & | element (LocalIndexType ivLocalScvIdx) const |
| returns the element in which the scv with the given local idx is embedded in More...
|
|
|
template<class NodalIndexSet > |
static std::size_t | numIVAtVertex (const NodalIndexSet &nodalIndexSet) |
| returns the number of interaction volumes living around a vertex More...
|
|
template<class IvIndexSetContainer , class ScvfIndexMap , class NodalIndexSet , class FlipScvfIndexSet > |
static void | addIVIndexSets (IvIndexSetContainer &ivIndexSetContainer, ScvfIndexMap &scvfIndexMap, const NodalIndexSet &nodalIndexSet, const FlipScvfIndexSet &flipScvfIndexSet) |
|
◆ Traits
state the traits type publicly
◆ addIVIndexSets()
template<class T >
template<class IvIndexSetContainer , class ScvfIndexMap , class NodalIndexSet , class FlipScvfIndexSet >
static void Dumux::CCMpfaInteractionVolumeBase< T >::addIVIndexSets |
( |
IvIndexSetContainer & |
ivIndexSetContainer, |
|
|
ScvfIndexMap & |
scvfIndexMap, |
|
|
const NodalIndexSet & |
nodalIndexSet, |
|
|
const FlipScvfIndexSet & |
flipScvfIndexSet |
|
) |
| |
|
inlinestatic |
adds the iv index sets living around a vertex to a given container and stores the the corresponding index in a map for each scvf
◆ bind()
template<class T >
template<class Problem , class FVElementGeometry >
Prepares everything for the assembly.
◆ computeScvGeometry()
template<class T >
template<class FVElementGeometry >
returns the geometry of the i-th local scv
◆ element()
returns the element in which the scv with the given local idx is embedded in
◆ localFaceData()
Returns a reference to the container with the local face data. The actual type of the container depends on the interaction volume implementation. At this point we throw an exception and force the implementation to overload this function.
◆ localScv()
returns the local scv entity corresponding to a given iv-local scv idx
◆ localScvf()
returns the local scvf entity corresponding to a given iv-local scvf idx
◆ numFaces()
returns the number of "primary" scvfs of this interaction volume
◆ numIVAtVertex()
template<class T >
template<class NodalIndexSet >
returns the number of interaction volumes living around a vertex
◆ numKnowns()
returns the number of (in this context) known solution values within this interaction volume
◆ numScvs()
returns the number of scvs embedded in this interaction volume
◆ numUnknowns()
returns the number of intermediate unknowns within this interaction volume
◆ stencil()
returns the cell-stencil of this interaction volume
The documentation for this class was generated from the following file: