3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dumux::BoxDfmFVElementGeometry< GG, false > Class Template Reference

Specialization in case the FVElementGeometries are not stored. More...

#include <dumux/porousmediumflow/boxdfm/fvelementgeometry.hh>

Description

template<class GG>
class Dumux::BoxDfmFVElementGeometry< GG, false >

Specialization in case the FVElementGeometries are not stored.

Public Types

using SubControlVolume = typename GG::SubControlVolume
 Export type of subcontrol volume. More...
 
using SubControlVolumeFace = typename GG::SubControlVolumeFace
 Export type of subcontrol volume face. More...
 
using GridGeometry = GG
 Export type of finite volume grid geometry. More...
 
using FVGridGeometry = GridGeometry
 export type of finite volume grid geometry More...
 

Public Member Functions

 BoxDfmFVElementGeometry (const GridGeometry &gridGeometry)
 Constructor. More...
 
const SubControlVolumescv (std::size_t scvIdx) const
 Get a sub control volume with a local scv index. More...
 
const SubControlVolumeFacescvf (std::size_t scvfIdx) const
 Get a sub control volume face with a local scvf index. More...
 
const FeLocalBasis & feLocalBasis () const
 Get a local finite element basis. More...
 
std::size_t numScv () const
 The total number of sub control volumes. More...
 
std::size_t numScvf () const
 The total number of sub control volume faces. More...
 
void bind (const Element &element)
 
void bindElement (const Element &element)
 Binding of an element, has to be called before using the fvgeometries. More...
 
const GridGeometryfvGridGeometry () const
 The global finite volume geometry we are a restriction of. More...
 
const GridGeometrygridGeometry () const
 The global finite volume geometry we are a restriction of. More...
 

Static Public Attributes

static constexpr std::size_t maxNumElementScvs = (1<<dim)*3
 

Member Typedef Documentation

◆ FVGridGeometry

template<class GG >
using Dumux::BoxDfmFVElementGeometry< GG, false >::FVGridGeometry = GridGeometry

export type of finite volume grid geometry

◆ GridGeometry

template<class GG >
using Dumux::BoxDfmFVElementGeometry< GG, false >::GridGeometry = GG

Export type of finite volume grid geometry.

◆ SubControlVolume

template<class GG >
using Dumux::BoxDfmFVElementGeometry< GG, false >::SubControlVolume = typename GG::SubControlVolume

Export type of subcontrol volume.

◆ SubControlVolumeFace

template<class GG >
using Dumux::BoxDfmFVElementGeometry< GG, false >::SubControlVolumeFace = typename GG::SubControlVolumeFace

Export type of subcontrol volume face.

Constructor & Destructor Documentation

◆ BoxDfmFVElementGeometry()

template<class GG >
Dumux::BoxDfmFVElementGeometry< GG, false >::BoxDfmFVElementGeometry ( const GridGeometry gridGeometry)
inline

Constructor.

Member Function Documentation

◆ bind()

template<class GG >
void Dumux::BoxDfmFVElementGeometry< GG, false >::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::BoxDfmFVElementGeometry< GG, false >::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.

◆ feLocalBasis()

template<class GG >
const FeLocalBasis & Dumux::BoxDfmFVElementGeometry< GG, false >::feLocalBasis ( ) const
inline

Get a local finite element basis.

◆ fvGridGeometry()

template<class GG >
const GridGeometry & Dumux::BoxDfmFVElementGeometry< GG, false >::fvGridGeometry ( ) const
inline

The global finite volume geometry we are a restriction of.

◆ gridGeometry()

template<class GG >
const GridGeometry & Dumux::BoxDfmFVElementGeometry< GG, false >::gridGeometry ( ) const
inline

The global finite volume geometry we are a restriction of.

◆ numScv()

template<class GG >
std::size_t Dumux::BoxDfmFVElementGeometry< GG, false >::numScv ( ) const
inline

The total number of sub control volumes.

◆ numScvf()

template<class GG >
std::size_t Dumux::BoxDfmFVElementGeometry< GG, false >::numScvf ( ) const
inline

The total number of sub control volume faces.

◆ scv()

template<class GG >
const SubControlVolume & Dumux::BoxDfmFVElementGeometry< GG, false >::scv ( std::size_t  scvIdx) const
inline

Get a sub control volume with a local scv index.

◆ scvf()

template<class GG >
const SubControlVolumeFace & Dumux::BoxDfmFVElementGeometry< GG, false >::scvf ( std::size_t  scvfIdx) const
inline

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

Member Data Documentation

◆ maxNumElementScvs

template<class GG >
constexpr std::size_t Dumux::BoxDfmFVElementGeometry< GG, false >::maxNumElementScvs = (1<<dim)*3
staticconstexpr

The maximum number of scvs per element (2^dim for cubes) multiplied by 3 for the maximum number of fracture scvs per vertex


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