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::CCMpfaOFacetCouplingInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld > Class Template Reference

Class for the interaction volume-local sub-control volume used in the mpfa-o scheme in the context of facet coupling. More...

#include <dumux/multidomain/facet/cellcentered/mpfa/localsubcontrolentities.hh>

Inheritance diagram for Dumux::CCMpfaOFacetCouplingInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >:
Inheritance graph

Description

template<class IvIndexSet, class Scalar, int dim, int dimWorld>
class Dumux::CCMpfaOFacetCouplingInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >

Class for the interaction volume-local sub-control volume used in the mpfa-o scheme in the context of facet coupling.

Template Parameters
IvIndexSetThe type used for index sets within interaction volumes
dimThe dimensionality of the grid
dimWorldThe dimension of the world the grid is embedded in

Public Types

using LocalIndexType = typename IvIndexSet::LocalIndexType
 
using GridIndexType = typename IvIndexSet::GridIndexType
 
using GlobalCoordinate = Dune::FieldVector< Scalar, dimWorld >
 
using ctype = typename GlobalCoordinate::value_type
 
using LocalBasis = std::array< GlobalCoordinate, dim >
 

Public Member Functions

 CCMpfaOFacetCouplingInteractionVolumeLocalScv ()=default
 The default constructor. More...
 
template<class MpfaHelper , class FVElementGeometry , class SubControlVolume , class IndexMap >
 CCMpfaOFacetCouplingInteractionVolumeLocalScv (const MpfaHelper &helper, const FVElementGeometry &fvGeometry, const SubControlVolume &scv, const LocalIndexType localIndex, const IvIndexSet &indexSet, const IndexMap &scvfGridToLocalIndexMap)
 The constructor. More...
 
LocalIndexType localScvfIndex (unsigned int coordDir) const
 iv-local index of the coordir's scvf in this scv More...
 
ctype detX () const
 detX is needed for setting up the omegas in the interaction volumes More...
 
GridIndexType gridScvIndex () const
 grid index related to this scv More...
 
LocalIndexType localDofIndex () const
 returns the index in the set of cell unknowns of the iv More...
 
const GlobalCoordinatenu (unsigned int coordDir) const
 the nu vectors are needed for setting up the omegas of the iv More...
 

Static Public Attributes

static constexpr int myDimension = dim
 
static constexpr int worldDimension = dimWorld
 

Member Typedef Documentation

◆ ctype

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
using Dumux::CCMpfaOInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::ctype = typename GlobalCoordinate::value_type
inherited

◆ GlobalCoordinate

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
using Dumux::CCMpfaOInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::GlobalCoordinate = Dune::FieldVector<Scalar, dimWorld>
inherited

◆ GridIndexType

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
using Dumux::CCMpfaOInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::GridIndexType = typename IvIndexSet::GridIndexType
inherited

◆ LocalBasis

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
using Dumux::CCMpfaOInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::LocalBasis = std::array< GlobalCoordinate, dim >
inherited

◆ LocalIndexType

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
using Dumux::CCMpfaOInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::LocalIndexType = typename IvIndexSet::LocalIndexType

Constructor & Destructor Documentation

◆ CCMpfaOFacetCouplingInteractionVolumeLocalScv() [1/2]

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
Dumux::CCMpfaOFacetCouplingInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::CCMpfaOFacetCouplingInteractionVolumeLocalScv ( )
default

The default constructor.

◆ CCMpfaOFacetCouplingInteractionVolumeLocalScv() [2/2]

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
template<class MpfaHelper , class FVElementGeometry , class SubControlVolume , class IndexMap >
Dumux::CCMpfaOFacetCouplingInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::CCMpfaOFacetCouplingInteractionVolumeLocalScv ( const MpfaHelper &  helper,
const FVElementGeometry &  fvGeometry,
const SubControlVolume &  scv,
const LocalIndexType  localIndex,
const IvIndexSet &  indexSet,
const IndexMap &  scvfGridToLocalIndexMap 
)
inline

The constructor.

Parameters
helperHelper class for mpfa schemes
fvGeometryThe element finite volume geometry
scvThe grid sub-control volume
localIndexThe iv-local index of this scvIdx
indexSetThe interaction volume index set
scvfGridToLocalIndexMapmaps to grid scvf indices the iv-local scvf index

Member Function Documentation

◆ detX()

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
ctype Dumux::CCMpfaOInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::detX ( ) const
inlineinherited

detX is needed for setting up the omegas in the interaction volumes

◆ gridScvIndex()

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
GridIndexType Dumux::CCMpfaOInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::gridScvIndex ( ) const
inlineinherited

grid index related to this scv

◆ localDofIndex()

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
LocalIndexType Dumux::CCMpfaOInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::localDofIndex ( ) const
inlineinherited

returns the index in the set of cell unknowns of the iv

◆ localScvfIndex()

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
LocalIndexType Dumux::CCMpfaOFacetCouplingInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::localScvfIndex ( unsigned int  coordDir) const
inline

iv-local index of the coordir's scvf in this scv

◆ nu()

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
const GlobalCoordinate & Dumux::CCMpfaOInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::nu ( unsigned int  coordDir) const
inlineinherited

the nu vectors are needed for setting up the omegas of the iv

Member Data Documentation

◆ myDimension

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
constexpr int Dumux::CCMpfaOFacetCouplingInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::myDimension = dim
staticconstexpr

◆ worldDimension

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
constexpr int Dumux::CCMpfaOInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::worldDimension = dimWorld
staticconstexprinherited

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