version 3.10.0
Loading...
Searching...
No Matches
Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType > Class Template Reference

A class to create sub control volume and sub control volume face geometries per element.

#include <dumux/discretization/box/boxgeometryhelper.hh>

Inheritance diagram for Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >:

Public Member Functions

 BoxGeometryHelper (const typename Element::Geometry &geometry)
ScvCornerStorage getScvCorners (unsigned int localScvIdx) const
 Create a vector with the scv corners.
ScvfCornerStorage getScvfCorners (unsigned int localScvfIdx) const
 Create a vector with the scvf corners.
ScvfCornerStorage getBoundaryScvfCorners (unsigned localFacetIndex, unsigned int indexInFacet) const
 Create the sub control volume face geometries on the boundary.
GlobalPosition normal (const ScvfCornerStorage &p, const std::vector< unsigned int > &scvIndices) const
 get scvf normal vector
std::size_t numInteriorScvf () const
 number of sub control volume faces (number of edges)
std::size_t numScv () const
 number of sub control volumes (number of vertices)
const Element::Geometry & elementGeometry () const
 the wrapped element geometry

Constructor & Destructor Documentation

◆ BoxGeometryHelper()

template<class GridView, class ScvType, class ScvfType>
Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::BoxGeometryHelper ( const typename Element::Geometry & geometry)
inlineexplicit

Member Function Documentation

◆ elementGeometry()

template<class GridView, class ScvType, class ScvfType>
const Element::Geometry & Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::elementGeometry ( ) const
inline

◆ getBoundaryScvfCorners()

template<class GridView, class ScvType, class ScvfType>
ScvfCornerStorage Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::getBoundaryScvfCorners ( unsigned localFacetIndex,
unsigned int indexInFacet ) const
inline

◆ getScvCorners()

template<class GridView, class ScvType, class ScvfType>
ScvCornerStorage Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::getScvCorners ( unsigned int localScvIdx) const
inline

◆ getScvfCorners()

template<class GridView, class ScvType, class ScvfType>
ScvfCornerStorage Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::getScvfCorners ( unsigned int localScvfIdx) const
inline

◆ normal()

template<class GridView, class ScvType, class ScvfType>
GlobalPosition Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::normal ( const ScvfCornerStorage & p,
const std::vector< unsigned int > & scvIndices ) const
inline

◆ numInteriorScvf()

template<class GridView, class ScvType, class ScvfType>
std::size_t Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::numInteriorScvf ( ) const
inline

◆ numScv()

template<class GridView, class ScvType, class ScvfType>
std::size_t Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::numScv ( ) const
inline

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