Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::EcfvSubControlVolumeFace< needIntegrationPos, needNormal > Class Template Reference

Represents a face of a sub-control volume. More...

#include <ecfvstencil.hh>

Public Member Functions

 EcfvSubControlVolumeFace ()
 
 EcfvSubControlVolumeFace (const Intersection &intersection, unsigned localNeighborIdx)
 
unsigned short interiorIndex () const
 Returns the local index of the degree of freedom to the face's interior. More...
 
unsigned short exteriorIndex () const
 Returns the local index of the degree of freedom to the face's outside. More...
 
const GlobalPosition & integrationPos () const
 Returns the global position of the face's integration point. More...
 
const WorldVector & normal () const
 Returns the outer unit normal at the face's integration point. More...
 
Scalar area () const
 Returns the area [m^2] of the face. More...
 
int dirId () const
 Returns the direction id of the face w.r.t the cell. More...
 
FaceDir::DirEnum faceDirFromDirId () const
 Returns the direction of the face. More...
 

Detailed Description

template<class Scalar, class GridView, bool needFaceIntegrationPos = true, bool needFaceNormal = true>
template<bool needIntegrationPos, bool needNormal>
class Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::EcfvSubControlVolumeFace< needIntegrationPos, needNormal >

Represents a face of a sub-control volume.

Constructor & Destructor Documentation

◆ EcfvSubControlVolumeFace() [1/2]

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

◆ EcfvSubControlVolumeFace() [2/2]

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
template<bool needIntegrationPos, bool needNormal>
Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::EcfvSubControlVolumeFace< needIntegrationPos, needNormal >::EcfvSubControlVolumeFace ( const Intersection &  intersection,
unsigned  localNeighborIdx 
)
inline

Member Function Documentation

◆ area()

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
template<bool needIntegrationPos, bool needNormal>
Scalar Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::EcfvSubControlVolumeFace< needIntegrationPos, needNormal >::area ( ) const
inline

Returns the area [m^2] of the face.

◆ dirId()

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
template<bool needIntegrationPos, bool needNormal>
int Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::EcfvSubControlVolumeFace< needIntegrationPos, needNormal >::dirId ( ) const
inline

Returns the direction id of the face w.r.t the cell.

For corner point grids, this is 0-5 for I-, I+, J-, J+, K- and K+ faces, and -1 for NNC faces.

◆ exteriorIndex()

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
template<bool needIntegrationPos, bool needNormal>
unsigned short Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::EcfvSubControlVolumeFace< needIntegrationPos, needNormal >::exteriorIndex ( ) const
inline

Returns the local index of the degree of freedom to the face's outside.

◆ faceDirFromDirId()

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
template<bool needIntegrationPos, bool needNormal>
FaceDir::DirEnum Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::EcfvSubControlVolumeFace< needIntegrationPos, needNormal >::faceDirFromDirId ( ) const
inline

Returns the direction of the face.

◆ integrationPos()

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
template<bool needIntegrationPos, bool needNormal>
const GlobalPosition & Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::EcfvSubControlVolumeFace< needIntegrationPos, needNormal >::integrationPos ( ) const
inline

Returns the global position of the face's integration point.

◆ interiorIndex()

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
template<bool needIntegrationPos, bool needNormal>
unsigned short Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::EcfvSubControlVolumeFace< needIntegrationPos, needNormal >::interiorIndex ( ) const
inline

Returns the local index of the degree of freedom to the face's interior.

◆ normal()

template<class Scalar , class GridView , bool needFaceIntegrationPos = true, bool needFaceNormal = true>
template<bool needIntegrationPos, bool needNormal>
const WorldVector & Opm::EcfvStencil< Scalar, GridView, needFaceIntegrationPos, needFaceNormal >::EcfvSubControlVolumeFace< needIntegrationPos, needNormal >::normal ( ) const
inline

Returns the outer unit normal at the face's integration point.


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