Base class for the finite volume geometry vector for staggered models This locally builds up the sub control volumes and sub control volume faces for each element. Specialization for grid caching disabled. More...
#include <dumux/discretization/staggered/fvelementgeometry.hh>
Base class for the finite volume geometry vector for staggered models This locally builds up the sub control volumes and sub control volume faces for each element. Specialization for grid caching disabled.
GG | the finite volume grid geometry type |
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 | |
template<class CellCenterOrFaceFVGridGeometry > | |
StaggeredFVElementGeometry (const CellCenterOrFaceFVGridGeometry &gridGeometry) | |
StaggeredFVElementGeometry (const GridGeometry &gridGeometry) | |
Constructor. More... | |
const SubControlVolumeFace & | scvf (GridIndexType eIdx, LocalIndexType localScvfIdx) const |
Get a sub control volume face with an element index and a local scvf index. More... | |
const SubControlVolume & | scv (GridIndexType scvIdx) const |
const SubControlVolumeFace & | scvf (GridIndexType scvfIdx) const |
std::size_t | numScv () const |
number of sub control volumes in this fv element geometry More... | |
std::size_t | numScvf () const |
number of sub control volumes in this fv element geometry More... | |
StaggeredFVElementGeometry | 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) & |
bind this local view to a specific element (full stencil) More... | |
StaggeredFVElementGeometry | 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) & |
bind this local view to a specific element More... | |
bool | isBound () const |
Returns true if bind/bindElement has already been called. More... | |
const Element & | element () const |
The bound element. More... | |
const GridGeometry & | gridGeometry () const |
The grid finite volume geometry we are a restriction of. More... | |
bool | hasBoundaryScvf () const |
Returns whether one of the geometry's scvfs lies on a boundary. More... | |
SubControlVolumeFace::Traits::Geometry | geometry (const SubControlVolumeFace &scvf) const |
using Dumux::StaggeredFVElementGeometry< GG, false >::Element = typename GridView::template Codim<0>::Entity |
export type of the element
using Dumux::StaggeredFVElementGeometry< GG, false >::GridGeometry = GG |
export type of finite volume grid geometry
using Dumux::StaggeredFVElementGeometry< GG, false >::SubControlVolume = typename GG::SubControlVolume |
export type of subcontrol volume
using Dumux::StaggeredFVElementGeometry< GG, false >::SubControlVolumeFace = typename GG::SubControlVolumeFace |
export type of subcontrol volume face
|
inline |
Constructor getting a auxiliary cell center of face specific FvGridGeometry type. Needed for the multi-domain framework.
|
inline |
Constructor.
|
inline |
bind this local view to a specific element (full stencil)
|
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 |
bind this local view to a specific element
|
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 |
|
inline |
The grid finite volume geometry we are a restriction of.
|
inline |
Returns whether one of the geometry's scvfs lies on a boundary.
|
inline |
Returns true if bind/bindElement has already been called.
|
inline |
number of sub control volumes in this fv element geometry
|
inline |
number of sub control volumes in this fv element geometry
|
inline |
Get an element sub control volume with a global scv index We separate element and neighbor scvs to speed up mapping
|
inline |
Get a sub control volume face with an element index and a local scvf index.
|
inline |
Get an element sub control volume face with a global scvf index We separate element and neighbor scvfs to speed up mapping