version 3.8
Dumux::CVFEElementSolution< FVElementGeometry, PV > Class Template Reference

The element solution vector.

#include <dumux/discretization/cvfe/elementsolution.hh>

Public Types

using PrimaryVariables = PV
 export the primary variables type More...
 

Public Member Functions

 CVFEElementSolution ()=default
 Default constructor. More...
 
template<class SolutionVector >
 CVFEElementSolution (const Element &element, const SolutionVector &sol, const GridGeometry &gridGeometry)
 Constructor with element and solution and grid geometry. More...
 
template<class ElementVolumeVariables >
 CVFEElementSolution (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 PrimaryVariablesoperator[] (IndexType i) const
 bracket operator const access More...
 
template<typename IndexType >
PrimaryVariablesoperator[] (IndexType i)
 bracket operator access More...
 

Member Typedef Documentation

◆ PrimaryVariables

template<class FVElementGeometry , class PV >
using Dumux::CVFEElementSolution< FVElementGeometry, PV >::PrimaryVariables = PV

Constructor & Destructor Documentation

◆ CVFEElementSolution() [1/3]

template<class FVElementGeometry , class PV >
Dumux::CVFEElementSolution< FVElementGeometry, PV >::CVFEElementSolution ( )
default

◆ CVFEElementSolution() [2/3]

template<class FVElementGeometry , class PV >
template<class SolutionVector >
Dumux::CVFEElementSolution< FVElementGeometry, PV >::CVFEElementSolution ( const Element &  element,
const SolutionVector &  sol,
const GridGeometry &  gridGeometry 
)
inline

◆ CVFEElementSolution() [3/3]

template<class FVElementGeometry , class PV >
template<class ElementVolumeVariables >
Dumux::CVFEElementSolution< FVElementGeometry, PV >::CVFEElementSolution ( const Element &  element,
const ElementVolumeVariables &  elemVolVars,
const FVElementGeometry &  fvGeometry 
)
inline

Member Function Documentation

◆ operator[]() [1/2]

template<class FVElementGeometry , class PV >
template<typename IndexType >
PrimaryVariables & Dumux::CVFEElementSolution< FVElementGeometry, PV >::operator[] ( IndexType  i)
inline

◆ operator[]() [2/2]

template<class FVElementGeometry , class PV >
template<typename IndexType >
const PrimaryVariables & Dumux::CVFEElementSolution< FVElementGeometry, PV >::operator[] ( IndexType  i) const
inline

◆ size()

template<class FVElementGeometry , class PV >
std::size_t Dumux::CVFEElementSolution< FVElementGeometry, PV >::size ( ) const
inline

◆ update() [1/2]

template<class FVElementGeometry , class PV >
template<class SolutionVector >
void Dumux::CVFEElementSolution< FVElementGeometry, PV >::update ( const Element &  element,
const SolutionVector &  sol,
const FVElementGeometry &  fvGeometry 
)
inline

◆ update() [2/2]

template<class FVElementGeometry , class PV >
template<class SolutionVector >
void Dumux::CVFEElementSolution< FVElementGeometry, PV >::update ( const Element &  element,
const SolutionVector &  sol,
const GridGeometry &  gridGeometry 
)
inline

The documentation for this class was generated from the following file: