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