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::PQ1BubbleElementSolution< FVElementGeometry, PV > Class Template Reference

The element solution vector. More...

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

Description

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

The element solution vector.

Public Types

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

Public Member Functions

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

export the primary variables type

Constructor & Destructor Documentation

◆ PQ1BubbleElementSolution() [1/3]

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

Default constructor.

◆ PQ1BubbleElementSolution() [2/3]

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

Constructor with element and solution and grid geometry.

◆ PQ1BubbleElementSolution() [3/3]

template<class FVElementGeometry , class PV >
template<class ElementVolumeVariables >
Dumux::PQ1BubbleElementSolution< FVElementGeometry, PV >::PQ1BubbleElementSolution ( 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::PQ1BubbleElementSolution< FVElementGeometry, PV >::operator[] ( IndexType  i)
inline

bracket operator access

◆ operator[]() [2/2]

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

bracket operator const access

◆ size()

template<class FVElementGeometry , class PV >
std::size_t Dumux::PQ1BubbleElementSolution< 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::PQ1BubbleElementSolution< 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::PQ1BubbleElementSolution< 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: