The element solution vector. More...
#include <dumux/discretization/cellcentered/elementsolution.hh>
The element solution vector.
Public Types | |
using | PrimaryVariables = PV |
export the primary variables type More... | |
Public Member Functions | |
CCElementSolution ()=default | |
default constructor More... | |
template<class SolutionVector > | |
CCElementSolution (const Element &element, const SolutionVector &sol, const GridGeometry &gridGeometry) | |
Constructor with element, solution vector and grid geometry. More... | |
template<class ElementVolumeVariables > | |
CCElementSolution (const Element &element, const ElementVolumeVariables &elemVolVars, const FVElementGeometry &fvGeometry) | |
Constructor with element, element volume variables and fv element geometry. More... | |
CCElementSolution (PrimaryVariables &&priVars) | |
Constructor with a primary variable object. More... | |
CCElementSolution (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... | |
constexpr 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::CCElementSolution< FVElementGeometry, PV >::PrimaryVariables = PV |
export the primary variables type
|
default |
default constructor
|
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 access
|
inline |
bracket operator const access
|
inlineconstexpr |
return the size of the element solution
|
inline |
extract the element solution from the solution vector using a mapper