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

The element solution vector.

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

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 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::CCElementSolution< FVElementGeometry, PV >::PrimaryVariables = PV

Constructor & Destructor Documentation

◆ CCElementSolution() [1/5]

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

◆ CCElementSolution() [2/5]

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

◆ CCElementSolution() [3/5]

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

◆ CCElementSolution() [4/5]

template<class FVElementGeometry , class PV >
Dumux::CCElementSolution< FVElementGeometry, PV >::CCElementSolution ( PrimaryVariables &&  priVars)
inline

◆ CCElementSolution() [5/5]

template<class FVElementGeometry , class PV >
Dumux::CCElementSolution< FVElementGeometry, PV >::CCElementSolution ( const PrimaryVariables priVars)
inline

Member Function Documentation

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

◆ size()

template<class FVElementGeometry , class PV >
constexpr std::size_t Dumux::CCElementSolution< FVElementGeometry, PV >::size ( ) const
inlineconstexpr

◆ update()

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

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