Stencil-local finite volume geometry (scvs and scvfs) for face-centered staggered models Specialization for grid caching enabled. More...
#include <dumux/discretization/facecentered/staggered/fvelementgeometry.hh>
Stencil-local finite volume geometry (scvs and scvfs) for face-centered staggered models Specialization for grid caching enabled.
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 | |
FaceCenteredStaggeredFVElementGeometry (const GridGeometry &gridGeometry) | |
const SubControlVolume & | scv (GridIndexType scvIdx) const |
Get a sub control volume with a global scv index. More... | |
const SubControlVolumeFace & | scvf (GridIndexType scvfIdx) const |
Get a sub control volume face with a global scvf index. More... | |
const SubControlVolumeFace & | lateralOrthogonalScvf (const SubControlVolumeFace &scvf) const |
Return a the lateral sub control volume face which is orthogonal to the given sub control volume face. More... | |
const SubControlVolumeFace & | frontalScvfOnBoundary (const SubControlVolume &scv) const |
Return the frontal sub control volume face on a the boundary for a given sub control volume. 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... | |
FaceCenteredStaggeredFVElementGeometry | 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) & |
Binding of an element, called by the local jacobian to prepare element assembly. More... | |
FaceCenteredStaggeredFVElementGeometry | 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(...).bind(element); More... | |
void | bindElement (const Element &element) & |
Bind only element-local. More... | |
const GridGeometry & | gridGeometry () const |
The grid geometry we are a restriction of. More... | |
std::size_t | elementIndex () const |
const Element & | element () const |
The bound element. More... | |
bool | scvfIntegrationPointInConcaveCorner (const SubControlVolumeFace &scvf) const |
Returns true if the IP of an scvf lies on a concave corner. More... | |
const SubControlVolumeFace & | outsideScvfWithSameIntegrationPoint (const SubControlVolumeFace &scvf) const |
Returns the the scvf of neighbor element with the same integration point and unit outer normal. More... | |
SubControlVolume::Traits::Geometry | geometry (const SubControlVolume &scv) const |
SubControlVolumeFace::Traits::Geometry | geometry (const SubControlVolumeFace &scvf) const |
Static Public Attributes | |
static constexpr std::size_t | maxNumElementScvs = numScvsPerElement |
the maximum number of scvs per element More... | |
using Dumux::FaceCenteredStaggeredFVElementGeometry< GG, true >::Element = typename GridView::template Codim<0>::Entity |
using Dumux::FaceCenteredStaggeredFVElementGeometry< GG, true >::GridGeometry = GG |
using Dumux::FaceCenteredStaggeredFVElementGeometry< GG, true >::SubControlVolume = typename GG::SubControlVolume |
export type of subcontrol volume face
using Dumux::FaceCenteredStaggeredFVElementGeometry< GG, true >::SubControlVolumeFace = typename GG::SubControlVolumeFace |
|
inline |
|
inline |
Binding of an element, called by the local jacobian to prepare element assembly.
|
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(...).bind(element);
|
inline |
The bound element.
|
inline |
|
inline |
Return the frontal sub control volume face on a the boundary for a given sub control volume.
|
inline |
|
inline |
|
inline |
The grid geometry we are a restriction of.
|
inline |
Returns whether one of the geometry's scvfs lies on a boundary.
|
inline |
Return a the lateral sub control volume face which is orthogonal to the given sub control volume face.
|
inline |
number of sub control volumes in this fv element geometry
|
inline |
number of sub control volumes in this fv element geometry
|
inline |
Returns the the scvf of neighbor element with the same integration point and unit outer normal.
|
inline |
Get a sub control volume with a global scv index.
|
inline |
Get a sub control volume face with a global scvf index.
|
inline |
Returns true if the IP of an scvf lies on a concave corner.
|
staticconstexpr |
the maximum number of scvs per element