version 3.7
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
 
 CCSubControlVolume (GeometryParamType geometry, GridIndexType elementIndex)
 
 CCSubControlVolume (const CCSubControlVolume &other)
 The copy constructor. More...
 
 CCSubControlVolume (CCSubControlVolume &&other)=default
 The move constructor. More...
 
CCSubControlVolumeoperator= (const CCSubControlVolume &other)
 The copy assignment operator. More...
 
CCSubControlVolumeoperator= (CCSubControlVolume &&other)=default
 The move assignment operator. More...
 
const GlobalPositioncenter () const
 The center of the sub control volume. More...
 
Scalar volume () const
 The volume of the sub control volume. More...
 
const Geometry & geometry () const
 The geometry 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...
 
GlobalPosition corner (LocalIndexType localIdx) const
 Return the corner for the given local index. 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/4]

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

◆ CCSubControlVolume() [2/4]

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

◆ CCSubControlVolume() [3/4]

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

◆ CCSubControlVolume() [4/4]

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

Member Function Documentation

◆ center()

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

◆ corner()

template<class GV , class T = CCDefaultScvGeometryTraits<GV>>
GlobalPosition Dumux::CCSubControlVolume< GV, T >::corner ( LocalIndexType  localIdx) 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

◆ geometry()

template<class GV , class T = CCDefaultScvGeometryTraits<GV>>
const Geometry & Dumux::CCSubControlVolume< GV, T >::geometry ( ) 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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

template<class GV , class T = CCDefaultScvGeometryTraits<GV>>
CCSubControlVolume & Dumux::CCSubControlVolume< GV, T >::operator= ( const CCSubControlVolume< GV, T > &  other)
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: