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

the sub control volume for porenetworks More...

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

Inheritance diagram for Dumux::PoreNetwork::PNMSubControlVolume< GV, T >:

Description

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
class Dumux::PoreNetwork::PNMSubControlVolume< GV, T >

the sub control volume for porenetworks

Template Parameters
GVthe type of the grid view
Tthe scv geometry traits

Public Types

using GlobalPosition = typename T::GlobalPosition
 export the type used for global coordinates
using Traits = T
 state the traits public and thus export all types

Public Member Functions

 PNMSubControlVolume ()=default
 The default constructor.
template<class Corners>
 PNMSubControlVolume (GridIndexType dofIndex, LocalIndexType scvIdx, GridIndexType elementIndex, Corners &&corners, const Scalar volume)
const GlobalPosition & center () const
Scalar volume () const
 The volume of the sub control volume (part of a pore).
LocalIndexType localDofIndex () const
 The element-local index of the dof this scv is embedded in.
LocalIndexType indexInElement () const
 The element-local index of this scv.
GridIndexType dofIndex () const
 The index of the dof this scv is embedded in.
const GlobalPosition & dofPosition () const
GridIndexType elementIndex () const
 The global index of the element this scv is embedded in.
const GlobalPosition & corner (LocalIndexType localIdx) const
 Return the corner for the given local index.
Geometry geometry () const
 The geometry of the sub control volume e.g. for integration.

Member Typedef Documentation

◆ GlobalPosition

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
using Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::GlobalPosition = typename T::GlobalPosition

export the type used for global coordinates

◆ Traits

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
using Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::Traits = T

state the traits public and thus export all types

Constructor & Destructor Documentation

◆ PNMSubControlVolume() [1/2]

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::PNMSubControlVolume ( )
default

The default constructor.

◆ PNMSubControlVolume() [2/2]

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
template<class Corners>
Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::PNMSubControlVolume ( GridIndexType dofIndex,
LocalIndexType scvIdx,
GridIndexType elementIndex,
Corners && corners,
const Scalar volume )
inline

Member Function Documentation

◆ center()

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
const GlobalPosition & Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::center ( ) const
inline

The center of the sub control volume (return pore center). Be aware that this is not the pore-body center! Use dofPosition() for the latter!

◆ corner()

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
const GlobalPosition & Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::corner ( LocalIndexType localIdx) const
inline

Return the corner for the given local index.

◆ dofIndex()

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
GridIndexType Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::dofIndex ( ) const
inline

The index of the dof this scv is embedded in.

◆ dofPosition()

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
const GlobalPosition & Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::dofPosition ( ) const
inline

◆ elementIndex()

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
GridIndexType Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::elementIndex ( ) const
inline

The global index of the element this scv is embedded in.

◆ geometry()

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
Geometry Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::geometry ( ) const
inline

The geometry of the sub control volume e.g. for integration.

◆ indexInElement()

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
LocalIndexType Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::indexInElement ( ) const
inline

The element-local index of this scv.

◆ localDofIndex()

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
LocalIndexType Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::localDofIndex ( ) const
inline

The element-local index of the dof this scv is embedded in.

◆ volume()

template<class GV, class T = PNMDefaultScvGeometryTraits<GV>>
Scalar Dumux::PoreNetwork::PNMSubControlVolume< GV, T >::volume ( ) const
inline

The volume of the sub control volume (part of a pore).


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