The element solution vector. More...
#include <dumux/discretization/box/elementsolution.hh>
The element solution vector.
Public Types | |
using | PrimaryVariables = PV |
export the primary variables type More... | |
Public Member Functions | |
BoxElementSolution ()=default | |
Default constructor. More... | |
template<class SolutionVector > | |
BoxElementSolution (const Element &element, const SolutionVector &sol, const GridGeometry &gridGeometry) | |
Constructor with element and solution and grid geometry. More... | |
template<class ElementVolumeVariables > | |
BoxElementSolution (const Element &element, const ElementVolumeVariables &elemVolVars, const FVElementGeometry &fvGeometry) | |
Constructor with element and elemVolVars and fvGeometry. 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... | |
template<class SolutionVector > | |
void | update (const Element &element, const SolutionVector &sol, const FVElementGeometry &fvGeometry) |
extract the element solution from the solution vector using a local fv geometry More... | |
std::size_t | size () const |
return the size of the element solution More... | |
template<typename IndexType > | |
const PrimaryVariables & | operator[] (IndexType i) const |
bracket operator const access More... | |
template<typename IndexType > | |
PrimaryVariables & | operator[] (IndexType i) |
bracket operator access More... | |
using Dumux::BoxElementSolution< FVElementGeometry, PV >::PrimaryVariables = PV |
export the primary variables type
|
default |
Default constructor.
|
inline |
Constructor with element and solution and grid geometry.
|
inline |
Constructor with element and elemVolVars and fvGeometry.
|
inline |
bracket operator access
|
inline |
bracket operator const access
|
inline |
return the size of the element solution
|
inline |
extract the element solution from the solution vector using a local fv geometry
|
inline |
extract the element solution from the solution vector using a mapper