version 3.9-dev
Dumux::PoreNetwork::PNMSubControlVolumeFace< GV, T > Class Template Reference

Class for a sub control volume face for porenetworks. More...

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

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

Description

template<class GV, class T = PNMDefaultScvfGeometryTraits<GV>>
class Dumux::PoreNetwork::PNMSubControlVolumeFace< GV, T >
Template Parameters
GVthe type of the grid view
Tthe scvf geometry traits

Public Types

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

Public Member Functions

 PNMSubControlVolumeFace ()=default
 The default constructor. More...
 
 PNMSubControlVolumeFace (const GlobalPosition &center, const GlobalPosition &unitOuterNormal, const Scalar &area, GridIndexType scvfIndex, std::array< LocalIndexType, 2 > &&scvIndices)
 Constructor for inner scvfs. More...
 
const GlobalPositioncenter () const
 The center of the sub control volume face. More...
 
const GlobalPositionipGlobal () const
 The integration point for flux evaluations in global coordinates. More...
 
Scalar area () const
 The area of the sub control volume face. More...
 
bool boundary () const
 We assume to always have a pore body and not a pore throat at the boundary. More...
 
const GlobalPositionunitOuterNormal () const
 The unit outer normal of the sub control volume face. More...
 
LocalIndexType insideScvIdx () const
 Index of the inside sub control volume for spatial param evaluation. More...
 
LocalIndexType outsideScvIdx () const
 Index of the outside sub control volume for spatial param evaluation. More...
 
GridIndexType index () const
 The local index of this sub control volume face. More...
 
GridIndexType outsideScvIdx (int i=0) const
 

Member Typedef Documentation

◆ GlobalPosition

template<class GV , class T = PNMDefaultScvfGeometryTraits<GV>>
using Dumux::PoreNetwork::PNMSubControlVolumeFace< GV, T >::GlobalPosition = typename T::GlobalPosition

◆ Traits

template<class GV , class T = PNMDefaultScvfGeometryTraits<GV>>
using Dumux::PoreNetwork::PNMSubControlVolumeFace< GV, T >::Traits = T

Constructor & Destructor Documentation

◆ PNMSubControlVolumeFace() [1/2]

template<class GV , class T = PNMDefaultScvfGeometryTraits<GV>>
Dumux::PoreNetwork::PNMSubControlVolumeFace< GV, T >::PNMSubControlVolumeFace ( )
default

◆ PNMSubControlVolumeFace() [2/2]

template<class GV , class T = PNMDefaultScvfGeometryTraits<GV>>
Dumux::PoreNetwork::PNMSubControlVolumeFace< GV, T >::PNMSubControlVolumeFace ( const GlobalPosition center,
const GlobalPosition unitOuterNormal,
const Scalar &  area,
GridIndexType  scvfIndex,
std::array< LocalIndexType, 2 > &&  scvIndices 
)
inline

Member Function Documentation

◆ area()

template<class GV , class T = PNMDefaultScvfGeometryTraits<GV>>
Scalar Dumux::PoreNetwork::PNMSubControlVolumeFace< GV, T >::area ( ) const
inline

◆ boundary()

template<class GV , class T = PNMDefaultScvfGeometryTraits<GV>>
bool Dumux::PoreNetwork::PNMSubControlVolumeFace< GV, T >::boundary ( ) const
inline

◆ center()

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

◆ index()

template<class GV , class T = PNMDefaultScvfGeometryTraits<GV>>
GridIndexType Dumux::PoreNetwork::PNMSubControlVolumeFace< GV, T >::index ( ) const
inline

◆ insideScvIdx()

template<class GV , class T = PNMDefaultScvfGeometryTraits<GV>>
LocalIndexType Dumux::PoreNetwork::PNMSubControlVolumeFace< GV, T >::insideScvIdx ( ) const
inline

◆ ipGlobal()

template<class GV , class T = PNMDefaultScvfGeometryTraits<GV>>
const GlobalPosition & Dumux::PoreNetwork::PNMSubControlVolumeFace< GV, T >::ipGlobal ( ) const
inline

◆ outsideScvIdx() [1/2]

template<class GV , class T = PNMDefaultScvfGeometryTraits<GV>>
LocalIndexType Dumux::PoreNetwork::PNMSubControlVolumeFace< GV, T >::outsideScvIdx ( ) const
inline

◆ outsideScvIdx() [2/2]

GridIndexType Dumux::SubControlVolumeFaceBase< PNMSubControlVolumeFace< GV, PNMDefaultScvfGeometryTraits< GV > > , PNMDefaultScvfGeometryTraits< GV > >::outsideScvIdx ( int  i = 0) const
inlineinherited

index of the outside sub control volume for spatial param evaluation This results in undefined behaviour if boundary is true In case of multiple outside scv indices (network grids) an index can be supplied

◆ unitOuterNormal()

template<class GV , class T = PNMDefaultScvfGeometryTraits<GV>>
const GlobalPosition & Dumux::PoreNetwork::PNMSubControlVolumeFace< GV, T >::unitOuterNormal ( ) const
inline

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