Stencil-local finite volume geometry (scvs and scvfs) for cell-centered TPFA models Specialization for grid caching enabled. More...
#include <dumux/discretization/cellcentered/tpfa/fvelementgeometry.hh>
Stencil-local finite volume geometry (scvs and scvfs) for cell-centered TPFA models Specialization for grid caching enabled.
Public Types | |
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 | |
CCTpfaFVElementGeometry (const GridGeometry &gridGeometry) | |
Constructor. More... | |
const SubControlVolume & | scv (GridIndexType scvIdx) const |
const SubControlVolumeFace & | scvf (GridIndexType scvfIdx) const |
const SubControlVolumeFace & | flipScvf (GridIndexType scvfIdx, unsigned int outsideScvIdx=0) 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... | |
void | bind (const Element &element) |
Binding of an element, called by the local jacobian to prepare element assembly. More... | |
void | bindElement (const Element &element) |
Bind only element-local. More... | |
const GridGeometry & | gridGeometry () const |
The global 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... | |
Static Public Attributes | |
static constexpr std::size_t | maxNumElementScvs = 1 |
the maximum number of scvs per element More... | |
static constexpr std::size_t | maxNumElementScvfs = 2*GridView::dimension |
the maximum number of scvfs per element (use cubes for maximum) More... | |
using Dumux::CCTpfaFVElementGeometry< GG, true >::GridGeometry = GG |
export type of finite volume grid geometry
using Dumux::CCTpfaFVElementGeometry< GG, true >::SubControlVolume = typename GG::SubControlVolume |
export type of subcontrol volume
using Dumux::CCTpfaFVElementGeometry< GG, true >::SubControlVolumeFace = typename GG::SubControlVolumeFace |
export type of subcontrol volume face
|
inline |
Constructor.
|
inline |
Binding of an element, called by the local jacobian to prepare element assembly.
|
inline |
Bind only element-local.
|
inline |
Get the scvf on the same face but from the other side Note that e.g. the normals might be different in the case of surface grids
|
inline |
The global finite volume geometry we are a restriction of.
|
inline |
Returns whether one of the geometry's scvfs lies on a boundary.
|
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 elment sub control volume with a global scv index We separate element and neighbor scvs to speed up mapping
|
inline |
Get an element sub control volume face with a global scvf index We separate element and neighbor scvfs to speed up mapping
|
staticconstexpr |
the maximum number of scvfs per element (use cubes for maximum)
|
staticconstexpr |
the maximum number of scvs per element