version 3.9-dev
Dumux::FaceCenteredStaggeredElementSolution< FVElementGeometry, PV > Class Template Reference

The global face variables class for staggered models.

#include <dumux/discretization/facecentered/staggered/elementsolution.hh>

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 PrimaryVariablesoperator[] (SmallLocalIndexType localScvIdx) const
 bracket operator const access More...
 
PrimaryVariablesoperator[] (SmallLocalIndexType localScvIdx)
 bracket operator More...
 

Static Public Member Functions

static constexpr std::size_t size ()
 return the size of the element solution More...
 

Member Typedef Documentation

◆ PrimaryVariables

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

Constructor & Destructor Documentation

◆ FaceCenteredStaggeredElementSolution() [1/5]

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

◆ FaceCenteredStaggeredElementSolution() [2/5]

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

◆ FaceCenteredStaggeredElementSolution() [3/5]

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

◆ FaceCenteredStaggeredElementSolution() [4/5]

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

◆ FaceCenteredStaggeredElementSolution() [5/5]

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

Member Function Documentation

◆ operator[]() [1/2]

template<class FVElementGeometry , class PV >
PrimaryVariables & Dumux::FaceCenteredStaggeredElementSolution< FVElementGeometry, PV >::operator[] ( SmallLocalIndexType  localScvIdx)
inline

◆ operator[]() [2/2]

template<class FVElementGeometry , class PV >
const PrimaryVariables & Dumux::FaceCenteredStaggeredElementSolution< FVElementGeometry, PV >::operator[] ( SmallLocalIndexType  localScvIdx) const
inline

◆ size()

template<class FVElementGeometry , class PV >
static constexpr std::size_t Dumux::FaceCenteredStaggeredElementSolution< FVElementGeometry, PV >::size ( )
inlinestaticconstexpr

◆ update()

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

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