3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | Protected Attributes | List of all members
Dumux::BoxDfmGeometryHelper< GridView, 3, ScvType, ScvfType > Class Template Reference

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

#include <dumux/porousmediumflow/boxdfm/geometryhelper.hh>

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

Description

template<class GridView, class ScvType, class ScvfType>
class Dumux::BoxDfmGeometryHelper< GridView, 3, ScvType, ScvfType >

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

Public Member Functions

ScvfCornerStorage getFractureScvfCorners (const Intersection &is, const typename Intersection::Geometry &isGeom, unsigned int edgeIndexInIntersection) const
 Create the sub control volume face geometries on an intersection marked as fracture. More...
 
ScvfType::Traits::GlobalPosition fractureNormal (const ScvfCornerStorage &p, const Intersection &is, unsigned int edgeIndexInIntersection) const
 get fracture scvf normal vector More...
 
ScvCornerStorage getScvCorners (unsigned int localScvIdx) const
 Create a vector with the scv corners. More...
 
ScvfCornerStorage getScvfCorners (unsigned int localScvfIdx) const
 Create a vector with the scvf corners. More...
 
ScvfCornerStorage getBoundaryScvfCorners (const Intersection &is, const typename Intersection::Geometry &geometry, unsigned int indexInIntersection) const
 Create the sub control volume face geometries on the boundary. More...
 
GlobalPosition normal (const ScvfCornerStorage &p, const std::vector< unsigned int > &scvIndices) const
 get scvf normal vector More...
 
Scalar scvVolume (const ScvCornerStorage &p) const
 get scv volume More...
 
Scalar scvfArea (const ScvfCornerStorage &p) const
 get scvf area More...
 

Protected Attributes

const Element::Geometry & elementGeometry_
 Reference to the element geometry. More...
 
std::size_t corners_
 
std::array< GlobalPosition, maxPoints > p_
 

Member Function Documentation

◆ fractureNormal()

template<class GridView , class ScvType , class ScvfType >
ScvfType::Traits::GlobalPosition Dumux::BoxDfmGeometryHelper< GridView, 3, ScvType, ScvfType >::fractureNormal ( const ScvfCornerStorage &  p,
const Intersection &  is,
unsigned int  edgeIndexInIntersection 
) const
inline

get fracture scvf normal vector

◆ getBoundaryScvfCorners()

template<class GridView , class ScvType , class ScvfType >
ScvfCornerStorage Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::getBoundaryScvfCorners ( const Intersection &  is,
const typename Intersection::Geometry &  geometry,
unsigned int  indexInIntersection 
) const
inlineinherited

Create the sub control volume face geometries on the boundary.

Only build the maps the first time we encounter a triangle

< vertex offset in point vector pi

< edge offset in point vector pi

Only build the maps the first time we encounter a quadrilateral

< vertex offset in point vector pi

< edge offset in point vector pi

◆ getFractureScvfCorners()

template<class GridView , class ScvType , class ScvfType >
ScvfCornerStorage Dumux::BoxDfmGeometryHelper< GridView, 3, ScvType, ScvfType >::getFractureScvfCorners ( const Intersection &  is,
const typename Intersection::Geometry &  isGeom,
unsigned int  edgeIndexInIntersection 
) const
inline

Create the sub control volume face geometries on an intersection marked as fracture.

Only build the maps the first time we encounter a triangle

< face offset in point vector p

Only build the maps the first time we encounter a quadrilateral

< face offset in point vector p

◆ getScvCorners()

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

Create a vector with the scv corners.

Only build the maps the first time we encounter a tetrahedron

< vertex offset in point vector p

< edge offset in point vector p

< face offset in point vector p

Only build the maps the first time we encounter a prism

< vertex offset in point vector p

< edge offset in point vector p

< face offset in point vector p

Only build the maps the first time we encounter a hexahedron

< vertex offset in point vector p

< edge offset in point vector p

< face offset in point vector p

◆ getScvfCorners()

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

Create a vector with the scvf corners.

Only build the maps the first time we encounter a tetrahedron

< edge offset in point vector p

< face offset in point vector p

Only build the maps the first time we encounter a prism

< edge offset in point vector p

< face offset in point vector p

Only build the maps the first time we encounter a hexahedron

< edge offset in point vector p

< face offset in point vector p

◆ 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
inlineinherited

get scvf normal vector

◆ scvfArea()

template<class GridView , class ScvType , class ScvfType >
Scalar Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::scvfArea ( const ScvfCornerStorage &  p) const
inlineinherited

get scvf area

◆ scvVolume()

template<class GridView , class ScvType , class ScvfType >
Scalar Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::scvVolume ( const ScvCornerStorage &  p) const
inlineinherited

get scv volume

Member Data Documentation

◆ corners_

template<class GridView , class ScvType , class ScvfType >
std::size_t Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::corners_
protectedinherited

◆ elementGeometry_

template<class GridView , class ScvType , class ScvfType >
const Element::Geometry& Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::elementGeometry_
protectedinherited

Reference to the element geometry.

◆ p_

template<class GridView , class ScvType , class ScvfType >
std::array<GlobalPosition, maxPoints> Dumux::BoxGeometryHelper< GridView, 3, ScvType, ScvfType >::p_
protectedinherited

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