The global face variables class for staggered models. More...
#include <dumux/discretization/facecentered/staggered/elementsolution.hh>
The global face variables class for staggered models.
Public Types | |
using | PrimaryVariables = PV |
export the primary variables type More... | |
Public Member Functions | |
FaceCenteredStaggeredElementSolution ()=default | |
template<class SolutionVector > | |
FaceCenteredStaggeredElementSolution (const Element &element, const SolutionVector &sol, const GridGeometry &gridGeometry) | |
Constructor with element, solution vector and grid geometry. More... | |
template<class ElementVolumeVariables > | |
FaceCenteredStaggeredElementSolution (const Element &element, const ElementVolumeVariables &elemVolVars, const FVElementGeometry &fvGeometry) | |
Constructor with element, element volume variables and fv element geometry. More... | |
FaceCenteredStaggeredElementSolution (PrimaryVariables &&priVars) | |
Constructor with a primary variable object. More... | |
FaceCenteredStaggeredElementSolution (const PrimaryVariables &priVars) | |
Constructor with a primary variable object. More... | |
template<class SolutionVector > | |
void | update (const Element &element, const SolutionVector &sol, const GridGeometry &gridGeometry) |
extract the element solution from the solution vector using a mapper More... | |
const PrimaryVariables & | operator[] (SmallLocalIndexType localScvIdx) const |
bracket operator const access More... | |
PrimaryVariables & | operator[] (SmallLocalIndexType localScvIdx) |
bracket operator More... | |
Static Public Member Functions | |
static constexpr std::size_t | size () |
return the size of the element solution More... | |
using Dumux::FaceCenteredStaggeredElementSolution< FVElementGeometry, PV >::PrimaryVariables = PV |
export the primary variables type
|
default |
|
inline |
Constructor with element, solution vector and grid geometry.
|
inline |
Constructor with element, element volume variables and fv element geometry.
|
inline |
Constructor with a primary variable object.
|
inline |
Constructor with a primary variable object.
|
inline |
bracket operator
|
inline |
bracket operator const access
|
inlinestaticconstexpr |
return the size of the element solution
|
inline |
extract the element solution from the solution vector using a mapper