specialization in case the FVElementGeometries are stored
#include <dumux/discretization/box/fvelementgeometry.hh>
|
using | Element = typename GridView::template Codim< 0 >::Entity |
| export the element type
|
|
using | SubControlVolume = typename GG::SubControlVolume |
| export type of subcontrol volume
|
|
using | SubControlVolumeFace = typename GG::SubControlVolumeFace |
| export type of subcontrol volume face
|
|
using | GridGeometry = GG |
| export type of finite volume grid geometry
|
|
|
| BoxFVElementGeometry (const GGCache &ggCache) |
| Constructor.
|
|
const SubControlVolume & | scv (LocalIndexType scvIdx) const |
| Get a sub control volume with a local scv index.
|
|
const SubControlVolumeFace & | scvf (LocalIndexType scvfIdx) const |
| Get a sub control volume face with a local scvf index.
|
|
const FeLocalBasis & | feLocalBasis () const |
| Get a local finite element basis.
|
|
std::size_t | numScv () const |
| The total number of sub control volumes.
|
|
std::size_t | numScvf () const |
| The total number of sub control volume faces.
|
|
BoxFVElementGeometry | bind (const Element &element) && |
| bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bind(element);
|
|
void | bind (const Element &element) & |
|
BoxFVElementGeometry | bindElement (const Element &element) && |
| bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bindElement(element);
|
|
void | bindElement (const Element &element) & |
|
bool | isBound () const |
| Returns true if bind/bindElement has already been called.
|
|
const Element & | element () const |
| The bound element.
|
|
GridIndexType | elementIndex () const |
| The bound element's index in the grid view.
|
|
const GridGeometry & | gridGeometry () const |
| The grid geometry we are a restriction of.
|
|
bool | hasBoundaryScvf () const |
| Returns whether one of the geometry's scvfs lies on a boundary.
|
|
SubControlVolume::Traits::Geometry | geometry (const SubControlVolume &scv) const |
| Geometry of a sub control volume.
|
|
SubControlVolumeFace::Traits::Geometry | geometry (const SubControlVolumeFace &scvf) const |
| Geometry of a sub control volume face.
|
|
|
static constexpr std::size_t | maxNumElementScvs = (1<<dim) |
| the maximum number of scvs per element (2^dim for cubes)
|
|
◆ Element
◆ GridGeometry
◆ SubControlVolume
◆ SubControlVolumeFace
◆ BoxFVElementGeometry()
- Note
- Never use this directly and always construct this class via
localView(gridGeometry)
◆ bind() [1/2]
this function is for compatibility reasons with cc methods The box stencil is always element-local so bind and bindElement are identical.
◆ bind() [2/2]
◆ bindElement() [1/2]
Binding of an element, has to be called before using the fvgeometries Prepares all the volume variables within the element For compatibility reasons with the FVGeometry cache being disabled
◆ bindElement() [2/2]
◆ element()
◆ elementIndex()
◆ feLocalBasis()
◆ geometry() [1/2]
◆ geometry() [2/2]
◆ gridGeometry()
◆ hasBoundaryScvf()
◆ isBound()
◆ numScv()
◆ numScvf()
◆ scv()
◆ scvf()
◆ maxNumElementScvs
The documentation for this class was generated from the following file: