version 3.8
Dumux::CCSubControlVolume< GV, T > Class Template Reference

Sub control volumes for cell-centered discretization schemes. More...

#include <dumux/discretization/cellcentered/subcontrolvolume.hh>

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

Description

template<class GV, class T = CCDefaultScvGeometryTraits<GV>>
class Dumux::CCSubControlVolume< GV, T >
Template Parameters
GVthe type of the grid view
Tthe scv 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

 CCSubControlVolume ()=default
 
template<class Geometry >
 CCSubControlVolume (Geometry &&geometry, GridIndexType elementIndex)
 
const GlobalPositioncenter () const
 The center of the sub control volume. More...
 
Scalar volume () const
 The volume of the sub control volume. More...
 
GridIndexType dofIndex () const
 The index of the dof this scv is embedded in (the global index of this scv) More...
 
LocalIndexType localDofIndex () const
 The element-local index of the dof this scv is embedded in. More...
 
LocalIndexType indexInElement () const
 
const GlobalPositiondofPosition () const
 
GridIndexType elementIndex () const
 The global index of the element this scv is embedded in. More...
 

Member Typedef Documentation

◆ GlobalPosition

template<class GV , class T = CCDefaultScvGeometryTraits<GV>>
using Dumux::CCSubControlVolume< GV, T >::GlobalPosition = typename T::GlobalPosition

◆ Traits

template<class GV , class T = CCDefaultScvGeometryTraits<GV>>
using Dumux::CCSubControlVolume< GV, T >::Traits = T

Constructor & Destructor Documentation

◆ CCSubControlVolume() [1/2]

template<class GV , class T = CCDefaultScvGeometryTraits<GV>>
Dumux::CCSubControlVolume< GV, T >::CCSubControlVolume ( )
default

◆ CCSubControlVolume() [2/2]

template<class GV , class T = CCDefaultScvGeometryTraits<GV>>
template<class Geometry >
Dumux::CCSubControlVolume< GV, T >::CCSubControlVolume ( Geometry &&  geometry,
GridIndexType  elementIndex 
)
inline

Member Function Documentation

◆ center()

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

◆ dofIndex()

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

◆ dofPosition()

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

◆ elementIndex()

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

◆ indexInElement()

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

The element-local index of this scv. In cell-centered schemes there is always only one scv per element.

◆ localDofIndex()

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

◆ volume()

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

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