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

The element solution vector. More...

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

Description

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

The element solution vector.

Public Types

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

Public Member Functions

 BoxElementSolution ()=default
 Default constructor. More...
 
template<class SolutionVector >
 BoxElementSolution (const Element &element, const SolutionVector &sol, const GridGeometry &gridGeometry)
 Constructor with element and solution and grid geometry. More...
 
template<class ElementVolumeVariables >
 BoxElementSolution (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::BoxElementSolution< FVElementGeometry, PV >::PrimaryVariables = PV

export the primary variables type

Constructor & Destructor Documentation

◆ BoxElementSolution() [1/3]

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

Default constructor.

◆ BoxElementSolution() [2/3]

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

Constructor with element and solution and grid geometry.

◆ BoxElementSolution() [3/3]

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

Constructor with element and elemVolVars and fvGeometry.

Member Function Documentation

◆ operator[]() [1/2]

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

bracket operator access

◆ operator[]() [2/2]

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

bracket operator const access

◆ size()

template<class FVElementGeometry , class PV >
std::size_t Dumux::BoxElementSolution< 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::BoxElementSolution< FVElementGeometry, PV >::update ( const Element &  element,
const SolutionVector &  sol,
const FVElementGeometry &  fvGeometry 
)
inline

extract the element solution from the solution vector using a local fv geometry

◆ update() [2/2]

template<class FVElementGeometry , class PV >
template<class SolutionVector >
void Dumux::BoxElementSolution< 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: