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

Class for a sub control volume face in the box method, i.e a part of the boundary of a sub control volume we compute fluxes on. This is a specialization for models considering coupling of different domains across the bulk grid facets. More...

#include <dumux/multidomain/facet/box/subcontrolvolumeface.hh>

Inheritance diagram for Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >:

Description

template<class GV, class T = BoxDefaultScvfGeometryTraits<GV>>
class Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >

Class for a sub control volume face in the box method, i.e a part of the boundary of a sub control volume we compute fluxes on. This is a specialization for models considering coupling of different domains across the bulk grid facets.

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

 BoxFacetCouplingSubControlVolumeFace ()=default
 The default constructor. More...
 
template<class GeometryHelper , class Element >
 BoxFacetCouplingSubControlVolumeFace (const GeometryHelper &geometryHelper, const Element &element, const typename Element::Geometry &elemGeometry, unsigned int scvfIndex, std::vector< LocalIndexType > &&scvIndices)
 Constructor for inner scvfs. More...
 
template<class GeometryHelper , class Intersection >
 BoxFacetCouplingSubControlVolumeFace (const GeometryHelper &geometryHelper, const Intersection &intersection, const typename Intersection::Geometry &isGeometry, LocalIndexType indexInIntersection, GridIndexType scvfIndex, std::vector< LocalIndexType > &&scvIndices, bool boundary, bool interiorBoundary)
 Constructor for domain or interior boundary 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
 returns bolean if the sub control volume face is on the boundary More...
 
bool interiorBoundary () const
 returns bolean if the sub control volume face is on an interior boundary More...
 
const GlobalPositionunitOuterNormal () const
 
LocalIndexType insideScvIdx () const
 index of the inside sub control volume for spatial param evaluation More...
 
GridIndexType index () const
 The element-local index of this sub control volume face. More...
 
LocalIndexType outsideScvIdx () const
 
LocalIndexType facetIndexInElement () const
 
LocalIndexType indexInElementFacet () const
 
Geometry geometry () const
 The geometry of the sub control volume face. More...
 
BoundaryFlag::value_type boundaryFlag () const
 Return the boundary flag. More...
 
const GlobalPositioncorner (unsigned int localIdx) const
 returns the position of a corner of the face More...
 
GridIndexType outsideScvIdx (int i=0) const
 

Member Typedef Documentation

◆ GlobalPosition

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
using Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::GlobalPosition = typename T::GlobalPosition

export the type used for global coordinates

◆ Traits

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
using Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::Traits = T

state the traits public and thus export all types

Constructor & Destructor Documentation

◆ BoxFacetCouplingSubControlVolumeFace() [1/3]

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::BoxFacetCouplingSubControlVolumeFace ( )
default

The default constructor.

◆ BoxFacetCouplingSubControlVolumeFace() [2/3]

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
template<class GeometryHelper , class Element >
Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::BoxFacetCouplingSubControlVolumeFace ( const GeometryHelper &  geometryHelper,
const Element &  element,
const typename Element::Geometry &  elemGeometry,
unsigned int  scvfIndex,
std::vector< LocalIndexType > &&  scvIndices 
)
inline

Constructor for inner scvfs.

◆ BoxFacetCouplingSubControlVolumeFace() [3/3]

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
template<class GeometryHelper , class Intersection >
Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::BoxFacetCouplingSubControlVolumeFace ( const GeometryHelper &  geometryHelper,
const Intersection &  intersection,
const typename Intersection::Geometry &  isGeometry,
LocalIndexType  indexInIntersection,
GridIndexType  scvfIndex,
std::vector< LocalIndexType > &&  scvIndices,
bool  boundary,
bool  interiorBoundary 
)
inline

Constructor for domain or interior boundary scvfs.

Member Function Documentation

◆ area()

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
Scalar Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::area ( ) const
inline

The area of the sub control volume face.

◆ boundary()

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
bool Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::boundary ( ) const
inline

returns bolean if the sub control volume face is on the boundary

◆ boundaryFlag()

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
BoundaryFlag::value_type Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::boundaryFlag ( ) const
inline

Return the boundary flag.

◆ center()

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

The center of the sub control volume face.

◆ corner()

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
const GlobalPosition & Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::corner ( unsigned int  localIdx) const
inline

returns the position of a corner of the face

◆ facetIndexInElement()

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

returns the element-local index of the facet this scvf is embedded in. This is only valid to be called for scvfs on domain/interior boundaries.

◆ geometry()

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

The geometry of the sub control volume face.

◆ index()

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
GridIndexType Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::index ( ) const
inline

The element-local index of this sub control volume face.

◆ indexInElementFacet()

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
LocalIndexType Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::indexInElementFacet ( ) const
inline

returns the facet-local (intersection-local) index of this scvf. This is only valid to be called for scvfs on domain/interior boundaries.

◆ insideScvIdx()

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
LocalIndexType Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::insideScvIdx ( ) const
inline

index of the inside sub control volume for spatial param evaluation

◆ interiorBoundary()

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
bool Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::interiorBoundary ( ) const
inline

returns bolean if the sub control volume face is on an interior boundary

◆ ipGlobal()

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
const GlobalPosition & Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::ipGlobal ( ) const
inline

The integration point for flux evaluations in global coordinates.

◆ outsideScvIdx() [1/2]

template<class GV , class T = BoxDefaultScvfGeometryTraits<GV>>
LocalIndexType Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::outsideScvIdx ( ) const
inline

index of the outside sub control volume for spatial param evaluation This results in undefined behaviour if boundary is true

◆ outsideScvIdx() [2/2]

GridIndexType Dumux::SubControlVolumeFaceBase< BoxFacetCouplingSubControlVolumeFace< GV, BoxDefaultScvfGeometryTraits< GV > > , BoxDefaultScvfGeometryTraits< 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 = BoxDefaultScvfGeometryTraits<GV>>
const GlobalPosition & Dumux::BoxFacetCouplingSubControlVolumeFace< GV, T >::unitOuterNormal ( ) const
inline

returns the unit nurmal vector pointing outwards of the sub-control volume that this scvf encloses


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