3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Functions
Dumux::CCMpfa Namespace Reference

Functions

template<class FVElementGeometry >
std::size_t maxNumBoundaryVolVars (const FVElementGeometry &fvGeometry)
 Computes how many boundary vol vars come into play for flux calculations on an element (for a given element finite volume geometry). This number here is probably always higher than the actually needed number of volume variables. However, we want to make sure it is high enough so that enough memory is reserved in the element volume variables below. More...
 
template<class VolumeVariables , class IndexType , class Problem , class FVElemGeom , class NodalIndexSet >
void addBoundaryVolVarsAtNode (std::vector< VolumeVariables > &volVars, std::vector< IndexType > &volVarIndices, const Problem &problem, const typename FVElemGeom::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElemGeom &fvGeometry, const NodalIndexSet &nodalIndexSet)
 Adds the boundary volume variables found within a given nodal index set into the provided containers and stores the indices associated with them. More...
 
template<class VolumeVariables , class IndexType , class Problem , class FVElemGeom >
void addBoundaryVolVars (std::vector< VolumeVariables > &volVars, std::vector< IndexType > &volVarIndices, const Problem &problem, const typename FVElemGeom::GridGeometry::GridView::template Codim< 0 >::Entity &element, const FVElemGeom &fvGeometry)
 Adds the boundary volume variables found within the stencil to the provided containers and stores the indices associated with them. More...