version 3.10-dev
cellcentered/mpfa/elementvolumevariables.hh File Reference

The local (stencil) volume variables class for cell centered mpfa models. More...

#include <algorithm>
#include <type_traits>
#include <utility>
#include <vector>
#include <dumux/discretization/cellcentered/elementsolution.hh>

Go to the source code of this file.

Classes

class  Dumux::CCMpfaElementVolumeVariables< GVV, true >
 The local (stencil) volume variables class for cell centered mpfa models with caching. More...
 
class  Dumux::CCMpfaElementVolumeVariables< GVV, false >
 The local (stencil) volume variables class for cell centered tpfa models with caching. More...
 

Namespaces

namespace  Dumux
 
namespace  Dumux::CCMpfa
 

Functions

template<class FVElementGeometry >
std::size_t Dumux::CCMpfa::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 Dumux::CCMpfa::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 Dumux::CCMpfa::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...
 
Include dependency graph for cellcentered/mpfa/elementvolumevariables.hh: