Element-wise grid geometry (local view) More...
#include <dumux/discretization/facecentered/diamond/fvelementgeometry.hh>
Element-wise grid geometry (local view)
Public Types | |
using | SubControlVolume = typename GG::SubControlVolume |
export type of subcontrol volume face More... | |
using | SubControlVolumeFace = typename GG::SubControlVolumeFace |
using | Element = typename GridView::template Codim< 0 >::Entity |
using | GridGeometry = GG |
Public Member Functions | |
FaceCenteredDiamondFVElementGeometry (const GGCache &ggCache) | |
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 |
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... | |
bool | hasBoundaryScvf () const |
Returns whether one of the geometry's scvfs lies on a boundary. More... | |
FaceCenteredDiamondFVElementGeometry | 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) & |
FaceCenteredDiamondFVElementGeometry | 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 only element-local. 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 geometry we are a restriction of. More... | |
std::size_t | elementIndex () const |
The bound element index. More... | |
SubControlVolume::Traits::Geometry | geometry (const SubControlVolume &scv) const |
Geometry of a sub control volume. More... | |
SubControlVolumeFace::Traits::Geometry | geometry (const SubControlVolumeFace &scvf) const |
Geometry of a sub control volume face. More... | |
Static Public Attributes | |
static constexpr std::size_t | maxNumElementScvs = 2*GridView::dimension |
the maximum number of scvs per element More... | |
using Dumux::FaceCenteredDiamondFVElementGeometry< GG, true >::Element = typename GridView::template Codim<0>::Entity |
using Dumux::FaceCenteredDiamondFVElementGeometry< GG, true >::GridGeometry = GG |
using Dumux::FaceCenteredDiamondFVElementGeometry< GG, true >::SubControlVolume = typename GG::SubControlVolume |
export type of subcontrol volume face
using Dumux::FaceCenteredDiamondFVElementGeometry< GG, true >::SubControlVolumeFace = typename GG::SubControlVolumeFace |
|
inline |
|
inline |
|
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 only element-local.
|
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 |
The bound element index.
|
inline |
Get a local finite element basis.
|
inline |
Geometry of a sub control volume.
|
inline |
Geometry of a sub control volume face.
|
inline |
The grid 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 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