Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::SubControlVolume Class Reference

Represents a sub-control volume. More...

#include <ecfvstencil.hh>

Public Member Functions

 SubControlVolume ()
 
 SubControlVolume (const Element &element)
 
void update (const Element &element)
 
void update ()
 
decltype(auto) globalPos () const
 The global position associated with the sub-control volume. More...
 
decltype(auto) center () const
 The center of the sub-control volume. More...
 
Scalar volume () const
 The volume [m^3] occupied by the sub-control volume. More...
 
const LocalGeometry geometry () const
 The geometry of the sub-control volume. More...
 
const LocalGeometry localGeometry () const
 Geometry of the sub-control volume relative to parent. More...
 

Detailed Description

template<class Scalar, class GridView, bool needFaceIntegrationPos = true, bool needFaceNormal = true>
class Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::SubControlVolume

Represents a sub-control volume.

For element centered finite volumes, this is equivalent to the element, in the vertex centered finite volume approach, this corresponds to the intersection of a finite volume and the grid element.

Constructor & Destructor Documentation

◆ SubControlVolume() [1/2]

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::SubControlVolume::SubControlVolume ( )
inline

◆ SubControlVolume() [2/2]

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::SubControlVolume::SubControlVolume ( const Element &  element)
inline

Member Function Documentation

◆ center()

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
decltype(auto) Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::SubControlVolume::center ( ) const
inline

The center of the sub-control volume.

◆ geometry()

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
const LocalGeometry Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::SubControlVolume::geometry ( ) const
inline

The geometry of the sub-control volume.

◆ globalPos()

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
decltype(auto) Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::SubControlVolume::globalPos ( ) const
inline

The global position associated with the sub-control volume.

◆ localGeometry()

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
const LocalGeometry Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::SubControlVolume::localGeometry ( ) const
inline

Geometry of the sub-control volume relative to parent.

◆ update() [1/2]

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
void Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::SubControlVolume::update ( )
inline

◆ update() [2/2]

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
void Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::SubControlVolume::update ( const Element &  element)
inline

◆ volume()

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
Scalar Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::SubControlVolume::volume ( ) const
inline

The volume [m^3] occupied by the sub-control volume.


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