3.4
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Dumux::PoreNetwork::PNMFVElementGeometry< GG, true > Class Template Reference

specialization in case the FVElementGeometries are stored More...

#include <dumux/discretization/porenetwork/fvelementgeometry.hh>

Inheritance diagram for Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >:

Description

template<class GG>
class Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >

specialization in case the FVElementGeometries are stored

Public Types

using SubControlVolume = typename GG::SubControlVolume
 export type of subcontrol volume
using SubControlVolumeFace = typename GG::SubControlVolumeFace
 export type of subcontrol volume face
using GridGeometry = GG
 export type of finite volume grid geometry
using Element = typename GridView::template Codim<0>::Entity
 export element type

Public Member Functions

 PNMFVElementGeometry (const GridGeometry &gridGeometry)
 Constructor.
const SubControlVolumescv (LocalIndexType scvIdx) const
 Get a sub control volume with a local scv index.
const SubControlVolumeFacescvf (LocalIndexType scvfIdx) const
 Get a sub control volume face with a local scvf index.
const FeLocalBasis & feLocalBasis () const
 Get a local finite element basis.
std::size_t numScv () const
 The total number of sub control volumes.
std::size_t numScvf () const
 The total number of sub control volume faces.
void bind (const Element &element)
void bindElement (const Element &element)
bool isBound () const
 Returns true if bind/bindElement has already been called.
const Elementelement () const
 The bound element.
const GridGeometrygridGeometry () const
 The global finite volume geometry we are a restriction of.
bool hasBoundaryScvf () const
 Returns whether one of the geometry's scvfs lies on a boundary.

Static Public Attributes

static constexpr std::size_t maxNumElementScvs = 2
 the maximum number of scvs per element

Member Typedef Documentation

◆ Element

template<class GG>
using Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::Element = typename GridView::template Codim<0>::Entity

export element type

◆ GridGeometry

template<class GG>
using Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::GridGeometry = GG

export type of finite volume grid geometry

◆ SubControlVolume

template<class GG>
using Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::SubControlVolume = typename GG::SubControlVolume

export type of subcontrol volume

◆ SubControlVolumeFace

template<class GG>
using Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::SubControlVolumeFace = typename GG::SubControlVolumeFace

export type of subcontrol volume face

Constructor & Destructor Documentation

◆ PNMFVElementGeometry()

template<class GG>
Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::PNMFVElementGeometry ( const GridGeometry & gridGeometry)
inline

Constructor.

Member Function Documentation

◆ bind()

template<class GG>
void Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::bind ( const Element & element)
inline

this function is for compatibility reasons with cc methods The box stencil is always element-local so bind and bindElement are identical.

◆ bindElement()

template<class GG>
void Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::bindElement ( const Element & element)
inline

Binding of an element, has to be called before using the fvgeometries Prepares all the volume variables within the element For compatibility reasons with the FVGeometry cache being disabled

◆ element()

template<class GG>
const Element & Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::element ( ) const
inline

The bound element.

◆ feLocalBasis()

template<class GG>
const FeLocalBasis & Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::feLocalBasis ( ) const
inline

Get a local finite element basis.

◆ gridGeometry()

template<class GG>
const GridGeometry & Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::gridGeometry ( ) const
inline

The global finite volume geometry we are a restriction of.

◆ hasBoundaryScvf()

template<class GG>
bool Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::hasBoundaryScvf ( ) const
inline

Returns whether one of the geometry's scvfs lies on a boundary.

◆ isBound()

template<class GG>
bool Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::isBound ( ) const
inline

Returns true if bind/bindElement has already been called.

◆ numScv()

template<class GG>
std::size_t Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::numScv ( ) const
inline

The total number of sub control volumes.

◆ numScvf()

template<class GG>
std::size_t Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::numScvf ( ) const
inline

The total number of sub control volume faces.

◆ scv()

template<class GG>
const SubControlVolume & Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::scv ( LocalIndexType scvIdx) const
inline

Get a sub control volume with a local scv index.

◆ scvf()

template<class GG>
const SubControlVolumeFace & Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::scvf ( LocalIndexType scvfIdx) const
inline

Get a sub control volume face with a local scvf index.

Member Data Documentation

◆ maxNumElementScvs

template<class GG>
std::size_t Dumux::PoreNetwork::PNMFVElementGeometry< GG, true >::maxNumElementScvs = 2
staticconstexpr

the maximum number of scvs per element


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