3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | List of all members
Dumux::BoxDfmSubControlVolume< GV, T > Class Template Reference

the sub control volume for the box discrete fracture scheme More...

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

Inheritance diagram for Dumux::BoxDfmSubControlVolume< GV, T >:
Inheritance graph

Description

template<class GV, class T = BoxDfmDefaultScvGeometryTraits<GV>>
class Dumux::BoxDfmSubControlVolume< GV, T >

the sub control volume for the box discrete fracture scheme

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

Public Types

using Traits = T
 State the traits public and thus export all types. More...
 

Public Member Functions

 BoxDfmSubControlVolume ()=default
 The default constructor. More...
 
template<class GeometryHelper >
 BoxDfmSubControlVolume (const GeometryHelper &geometryHelper, LocalIndexType scvIdx, GridIndexType elementIndex, GridIndexType dofIndex)
 
template<class GeometryHelper , class Intersection >
 BoxDfmSubControlVolume (const GeometryHelper &geometryHelper, const Intersection &intersection, const typename Intersection::Geometry &isGeometry, LocalIndexType indexInIntersection, LocalIndexType vIdxLocal, LocalIndexType elemLocalScvIdx, LocalIndexType elemLocalFacetIdx, GridIndexType elementIndex, GridIndexType dofIndex)
 Constructor for fracture scvs. More...
 
const GlobalPosition & center () const
 The center of the sub control volume. More...
 
Scalar volume () const
 The volume of the sub control volume. More...
 
LocalIndexType localDofIndex () const
 The element-local vertex index this scv is connected to. More...
 
LocalIndexType indexInElement () const
 The element-local index of this scv. More...
 
LocalIndexType facetIndexInElement () const
 The element-local facet index for which a fracture scv was created. More...
 
GridIndexType dofIndex () const
 The index of the dof this scv is embedded in. More...
 
const GlobalPosition & dofPosition () const
 
GridIndexType elementIndex () const
 The global index of the element this scv is embedded in. More...
 
bool isOnFracture () const
 Return true if this scv is part of the fracture domain. More...
 
Geometry geometry () const
 The geometry of the sub control volume. More...
 
const GlobalPosition & corner (LocalIndexType localIdx) const
 Return the corner for the given local index. More...
 

Member Typedef Documentation

◆ Traits

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
using Dumux::BoxDfmSubControlVolume< GV, T >::Traits = T

State the traits public and thus export all types.

Constructor & Destructor Documentation

◆ BoxDfmSubControlVolume() [1/3]

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
Dumux::BoxDfmSubControlVolume< GV, T >::BoxDfmSubControlVolume ( )
default

The default constructor.

◆ BoxDfmSubControlVolume() [2/3]

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
template<class GeometryHelper >
Dumux::BoxDfmSubControlVolume< GV, T >::BoxDfmSubControlVolume ( const GeometryHelper &  geometryHelper,
LocalIndexType  scvIdx,
GridIndexType  elementIndex,
GridIndexType  dofIndex 
)
inline

◆ BoxDfmSubControlVolume() [3/3]

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
template<class GeometryHelper , class Intersection >
Dumux::BoxDfmSubControlVolume< GV, T >::BoxDfmSubControlVolume ( const GeometryHelper &  geometryHelper,
const Intersection &  intersection,
const typename Intersection::Geometry &  isGeometry,
LocalIndexType  indexInIntersection,
LocalIndexType  vIdxLocal,
LocalIndexType  elemLocalScvIdx,
LocalIndexType  elemLocalFacetIdx,
GridIndexType  elementIndex,
GridIndexType  dofIndex 
)
inline

Constructor for fracture scvs.

The corner computation is the same as for boundary scvfs. Also, the scvf area of a boundary scvf is equal to the scv volume (unscaled by the aperture) Thus, we reuse functionality here. In order to get the right dimensions later, one must provide appropriate extrusion factors in the problem corresponding to the fracture aperture. *

Member Function Documentation

◆ center()

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
const GlobalPosition & Dumux::BoxDfmSubControlVolume< GV, T >::center ( ) const
inline

The center of the sub control volume.

◆ corner()

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
const GlobalPosition & Dumux::BoxDfmSubControlVolume< GV, T >::corner ( LocalIndexType  localIdx) const
inline

Return the corner for the given local index.

◆ dofIndex()

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
GridIndexType Dumux::BoxDfmSubControlVolume< GV, T >::dofIndex ( ) const
inline

The index of the dof this scv is embedded in.

◆ dofPosition()

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
const GlobalPosition & Dumux::BoxDfmSubControlVolume< GV, T >::dofPosition ( ) const
inline

◆ elementIndex()

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
GridIndexType Dumux::BoxDfmSubControlVolume< GV, T >::elementIndex ( ) const
inline

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

◆ facetIndexInElement()

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
LocalIndexType Dumux::BoxDfmSubControlVolume< GV, T >::facetIndexInElement ( ) const
inline

The element-local facet index for which a fracture scv was created.

◆ geometry()

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
Geometry Dumux::BoxDfmSubControlVolume< GV, T >::geometry ( ) const
inline

The geometry of the sub control volume.

◆ indexInElement()

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
LocalIndexType Dumux::BoxDfmSubControlVolume< GV, T >::indexInElement ( ) const
inline

The element-local index of this scv.

◆ isOnFracture()

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
bool Dumux::BoxDfmSubControlVolume< GV, T >::isOnFracture ( ) const
inline

Return true if this scv is part of the fracture domain.

◆ localDofIndex()

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
LocalIndexType Dumux::BoxDfmSubControlVolume< GV, T >::localDofIndex ( ) const
inline

The element-local vertex index this scv is connected to.

◆ volume()

template<class GV , class T = BoxDfmDefaultScvGeometryTraits<GV>>
Scalar Dumux::BoxDfmSubControlVolume< GV, T >::volume ( ) const
inline

The volume of the sub control volume.


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