3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | List of all members
Dumux::FaceCenteredDiamondElementSolution< FVElementGeometry, PV > Class Template Reference

The global face variables class for face-centered diamond models. More...

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

Description

template<class FVElementGeometry, class PV>
class Dumux::FaceCenteredDiamondElementSolution< FVElementGeometry, PV >

The global face variables class for face-centered diamond models.

Public Types

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

Public Member Functions

 FaceCenteredDiamondElementSolution ()=default
 
template<class SolutionVector >
 FaceCenteredDiamondElementSolution (const Element &element, const SolutionVector &sol, const GridGeometry &gridGeometry)
 Constructor with element, solution vector and grid geometry. More...
 
template<class ElementVolumeVariables >
 FaceCenteredDiamondElementSolution (const Element &element, const ElementVolumeVariables &elemVolVars, const FVElementGeometry &fvGeometry)
 Constructor with element, element volume variables and fv element geometry. 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 mapper More...
 
template<typename IndexType >
const PrimaryVariablesoperator[] (IndexType localScvIdx) const
 bracket operator const access More...
 
template<typename IndexType >
PrimaryVariablesoperator[] (IndexType localScvIdx)
 bracket operator More...
 
std::size_t size () const
 return the size of the element solution More...
 

Member Typedef Documentation

◆ PrimaryVariables

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

export the primary variables type

Constructor & Destructor Documentation

◆ FaceCenteredDiamondElementSolution() [1/3]

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

◆ FaceCenteredDiamondElementSolution() [2/3]

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

Constructor with element, solution vector and grid geometry.

◆ FaceCenteredDiamondElementSolution() [3/3]

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

Constructor with element, element volume variables and fv element geometry.

Member Function Documentation

◆ operator[]() [1/2]

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

bracket operator

◆ operator[]() [2/2]

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

bracket operator const access

◆ size()

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

return the size of the element solution

◆ update() [1/2]

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

extract the element solution from the solution vector using a mapper

◆ update() [2/2]

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

extract the element solution from the solution vector using a mapper


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