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 >
- Template Parameters
-
T | The traits class to be used |
|
using | Traits = T |
| state the traits type publicly
|
|
|
template<class Problem , class FVElementGeometry > |
void | bind (const typename Traits::IndexSet &indexSet, const Problem &problem, const FVElementGeometry &fvGeometry) |
| Prepares everything for the assembly.
|
|
std::size_t | numFaces () const |
| returns the number of "primary" scvfs of this interaction volume
|
|
std::size_t | numUnknowns () const |
| returns the number of intermediate unknowns within this interaction volume
|
|
std::size_t | numKnowns () const |
| returns the number of (in this context) known solution values within this interaction volume
|
|
std::size_t | numScvs () const |
| returns the number of scvs embedded in this interaction volume
|
|
template<class FVElementGeometry > |
ScvGeometry | computeScvGeometry (LocalIndexType ivLocalScvIdx, const FVElementGeometry &fvGeometry) |
| returns the geometry of the i-th local scv
|
|
const std::vector< typename Traits::LocalFaceData > & | localFaceData () const |
|
const NodalStencilType & | stencil () const |
| returns the cell-stencil of this interaction volume
|
|
const LocalScvfType & | localScvf (LocalIndexType ivLocalScvfIdx) const |
| returns the local scvf entity corresponding to a given iv-local scvf idx
|
|
const LocalScvType & | localScv (LocalIndexType ivLocalScvIdx) const |
| returns the local scv entity corresponding to a given iv-local scv idx
|
|
const Element & | element (LocalIndexType ivLocalScvIdx) const |
| returns the element in which the scv with the given local idx is embedded in
|
|
|
template<class NodalIndexSet > |
static std::size_t | numIVAtVertex (const NodalIndexSet &nodalIndexSet) |
| returns the number of interaction volumes living around a vertex
|
|
template<class IvIndexSetContainer , class ScvfIndexMap , class NodalIndexSet , class FlipScvfIndexSet > |
static void | addIVIndexSets (IvIndexSetContainer &ivIndexSetContainer, ScvfIndexMap &scvfIndexMap, const NodalIndexSet &nodalIndexSet, const FlipScvfIndexSet &flipScvfIndexSet) |
|
◆ Traits
◆ 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 >
◆ computeScvGeometry()
template<class T >
template<class FVElementGeometry >
◆ element()
◆ 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()
◆ localScvf()
◆ numFaces()
◆ numIVAtVertex()
template<class T >
template<class NodalIndexSet >
◆ numKnowns()
◆ numScvs()
◆ numUnknowns()
◆ stencil()
The documentation for this class was generated from the following file: