specialization in case the FVElementGeometries are stored More...
#include <dumux/multidomain/facet/box/fvelementgeometry.hh>
specialization in case the FVElementGeometries are stored
Public Types | |
| using | Element = typename GridView::template Codim< 0 >::Entity |
| export type of the element More... | |
| using | SubControlVolume = typename GG::SubControlVolume |
| export type of subcontrol volume More... | |
| using | SubControlVolumeFace = typename GG::SubControlVolumeFace |
| export type of subcontrol volume face More... | |
| using | GridGeometry = GG |
| export type of finite volume grid geometry More... | |
Public Member Functions | |
| BoxFacetCouplingFVElementGeometry (const GridGeometry &gridGeometry) | |
| Constructor. More... | |
| const SubControlVolume & | scv (LocalIndexType scvIdx) const |
| Get a sub control volume with a local scv index. More... | |
| const SubControlVolumeFace & | scvf (LocalIndexType scvfIdx) const |
| Get a sub control volume face with a local scvf index. More... | |
| const FeLocalBasis & | feLocalBasis () const |
| Get a local finite element basis. More... | |
| std::size_t | numScv () const |
| The total number of sub control volumes. More... | |
| std::size_t | numScvf () const |
| The total number of sub control volume faces. More... | |
| BoxFacetCouplingFVElementGeometry | 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); More... | |
| void | bind (const Element &element) & |
| BoxFacetCouplingFVElementGeometry | 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); More... | |
| void | bindElement (const Element &element) & |
| const GridGeometry & | gridGeometry () const |
| The global finite volume geometry we are a restriction of. More... | |
| bool | isBound () const |
| Returns true if bind/bindElement has already been called. More... | |
| const Element & | element () const |
| The bound element. More... | |
Static Public Attributes | |
| static constexpr std::size_t | maxNumElementScvs = (1<<dim) |
| the maximum number of scvs per element (2^dim for cubes) More... | |
| using Dumux::BoxFacetCouplingFVElementGeometry< GG, true >::Element = typename GridView::template Codim<0>::Entity |
export type of the element
| using Dumux::BoxFacetCouplingFVElementGeometry< GG, true >::GridGeometry = GG |
export type of finite volume grid geometry
| using Dumux::BoxFacetCouplingFVElementGeometry< GG, true >::SubControlVolume = typename GG::SubControlVolume |
export type of subcontrol volume
| using Dumux::BoxFacetCouplingFVElementGeometry< GG, true >::SubControlVolumeFace = typename GG::SubControlVolumeFace |
export type of subcontrol volume face
|
inline |
Constructor.
|
inline |
this function is for compatibility reasons with cc methods The box stencil is always element-local so bind and bindElement are identical.
|
inline |
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);
|
inline |
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
|
inline |
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);
|
inline |
The bound element.
|
inline |
Get a local finite element basis.
|
inline |
The global finite volume geometry we are a restriction of.
|
inline |
Returns true if bind/bindElement has already been called.
|
inline |
The total number of sub control volumes.
|
inline |
The total number of sub control volume faces.
|
inline |
Get a sub control volume with a local scv index.
|
inline |
Get a sub control volume face with a local scvf index.
|
staticconstexpr |
the maximum number of scvs per element (2^dim for cubes)