version 3.11-dev
Loading...
Searching...
No Matches

the sub control volume for the pq2 scheme More...

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

Inheritance diagram for Dumux::PQ2SubControlVolume< GridView, T >:

Description

template<class GridView, class T = PQ2DefaultScvGeometryTraits<GridView>>
class Dumux::PQ2SubControlVolume< GridView, T >
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
using Traits = T
 state the traits public and thus export all types

Public Member Functions

 PQ2SubControlVolume ()=default
 PQ2SubControlVolume (const Scalar &volume, const GlobalPosition &dofPosition, const GlobalPosition &center, const LocalIndexType indexInElement, const LocalIndexType localDofIndex, const GridIndexType eIdx, const GridIndexType dofIdx, bool overlapping=false)
const GlobalPositioncenter () const
 The center of the sub control volume.
const GlobalPositiondofPosition () const
 The position of the degree of freedom.
Scalar volume () const
bool isOverlapping () const
 returns true if the sub control volume is overlapping with another scv
GridIndexType dofIndex () const
LocalIndexType indexInElement () const
GridIndexType elementIndex () const
LocalIndexType localDofIndex () const

Member Typedef Documentation

◆ GlobalPosition

template<class GridView, class T = PQ2DefaultScvGeometryTraits<GridView>>
using Dumux::PQ2SubControlVolume< GridView, T >::GlobalPosition = typename T::GlobalPosition

◆ Traits

template<class GridView, class T = PQ2DefaultScvGeometryTraits<GridView>>
using Dumux::PQ2SubControlVolume< GridView, T >::Traits = T

Constructor & Destructor Documentation

◆ PQ2SubControlVolume() [1/2]

template<class GridView, class T = PQ2DefaultScvGeometryTraits<GridView>>
Dumux::PQ2SubControlVolume< GridView, T >::PQ2SubControlVolume ( )
default

◆ PQ2SubControlVolume() [2/2]

template<class GridView, class T = PQ2DefaultScvGeometryTraits<GridView>>
Dumux::PQ2SubControlVolume< GridView, T >::PQ2SubControlVolume ( const Scalar & volume,
const GlobalPosition & dofPosition,
const GlobalPosition & center,
const LocalIndexType indexInElement,
const LocalIndexType localDofIndex,
const GridIndexType eIdx,
const GridIndexType dofIdx,
bool overlapping = false )
inline

Member Function Documentation

◆ center()

template<class GridView, class T = PQ2DefaultScvGeometryTraits<GridView>>
const GlobalPosition & Dumux::PQ2SubControlVolume< GridView, T >::center ( ) const
inline

◆ dofIndex()

template<class GridView, class T = PQ2DefaultScvGeometryTraits<GridView>>
GridIndexType Dumux::PQ2SubControlVolume< GridView, T >::dofIndex ( ) const
inline

◆ dofPosition()

template<class GridView, class T = PQ2DefaultScvGeometryTraits<GridView>>
const GlobalPosition & Dumux::PQ2SubControlVolume< GridView, T >::dofPosition ( ) const
inline

◆ elementIndex()

template<class GridView, class T = PQ2DefaultScvGeometryTraits<GridView>>
GridIndexType Dumux::PQ2SubControlVolume< GridView, T >::elementIndex ( ) const
inline

◆ indexInElement()

template<class GridView, class T = PQ2DefaultScvGeometryTraits<GridView>>
LocalIndexType Dumux::PQ2SubControlVolume< GridView, T >::indexInElement ( ) const
inline

◆ isOverlapping()

template<class GridView, class T = PQ2DefaultScvGeometryTraits<GridView>>
bool Dumux::PQ2SubControlVolume< GridView, T >::isOverlapping ( ) const
inline

◆ localDofIndex()

template<class GridView, class T = PQ2DefaultScvGeometryTraits<GridView>>
LocalIndexType Dumux::PQ2SubControlVolume< GridView, T >::localDofIndex ( ) const
inline

◆ volume()

template<class GridView, class T = PQ2DefaultScvGeometryTraits<GridView>>
Scalar Dumux::PQ2SubControlVolume< GridView, T >::volume ( ) const
inline

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