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

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

#include <dumux/discretization/cellcentered/mpfa/omethod/localsubcontrolentities.hh>

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

Description

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

Class for the interaction volume-local sub-control volume used in the mpfa-o scheme.

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 GridIndexType = typename IvIndexSet::GridIndexType
 
using LocalIndexType = typename IvIndexSet::LocalIndexType
 
using GlobalCoordinate = Dune::FieldVector< Scalar, dimWorld >
 
using ctype = typename GlobalCoordinate::value_type
 
using LocalBasis = std::array< GlobalCoordinate, dim >
 

Public Member Functions

 CCMpfaOInteractionVolumeLocalScv ()=default
 The default constructor. More...
 
template<class MpfaHelper , class FVElementGeometry , class SubControlVolume >
 CCMpfaOInteractionVolumeLocalScv (const MpfaHelper &helper, const FVElementGeometry &fvGeometry, const SubControlVolume &scv, const LocalIndexType localIndex, const IvIndexSet &indexSet)
 The constructor. 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...
 
LocalIndexType localScvfIndex (unsigned int coordDir) const
 iv-local index of the coordir's scvf in this scv 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

◆ GlobalCoordinate

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

◆ GridIndexType

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

◆ LocalBasis

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

◆ LocalIndexType

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

Constructor & Destructor Documentation

◆ CCMpfaOInteractionVolumeLocalScv() [1/2]

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

The default constructor.

◆ CCMpfaOInteractionVolumeLocalScv() [2/2]

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
template<class MpfaHelper , class FVElementGeometry , class SubControlVolume >
Dumux::CCMpfaOInteractionVolumeLocalScv< IvIndexSet, Scalar, dim, dimWorld >::CCMpfaOInteractionVolumeLocalScv ( const MpfaHelper &  helper,
const FVElementGeometry &  fvGeometry,
const SubControlVolume &  scv,
const LocalIndexType  localIndex,
const IvIndexSet &  indexSet 
)
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

Member Function Documentation

◆ detX()

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

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
inline

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
inline

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

◆ localScvfIndex()

template<class IvIndexSet , class Scalar , int dim, int dimWorld>
LocalIndexType Dumux::CCMpfaOInteractionVolumeLocalScv< 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
inline

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::CCMpfaOInteractionVolumeLocalScv< 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
staticconstexpr

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