The finite volume geometry (scvs and scvfs) for cell-centered TPFA models on a grid view This builds up the sub control volumes and sub control volume faces. More...
#include <dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh>
The finite volume geometry (scvs and scvfs) for cell-centered TPFA models on a grid view This builds up the sub control volumes and sub control volume faces.
Public Types | |
using | LocalView = typename Traits::template LocalView< ThisType, false > |
export the type of the fv element geometry (the local view type) More... | |
using | SubControlVolume = typename Traits::SubControlVolume |
export the type of sub control volume More... | |
using | SubControlVolumeFace = typename Traits::SubControlVolumeFace |
export the type of sub control volume More... | |
using | DofMapper = typename Traits::ElementMapper |
export dof mapper type More... | |
using | GridView = GV |
Export the type of the grid view. More... | |
using | Grid = typename GV::Grid |
export the grid type More... | |
using | GlobalCoordinate = typename Element::Geometry::GlobalCoordinate |
export the global coordinate type More... | |
using | ElementMapper = typename Traits::ElementMapper |
export the element mapper type More... | |
using | VertexMapper = typename Traits::VertexMapper |
export the vertex mapper type More... | |
Public Member Functions | |
CCTpfaFVGridGeometry (const GridView &gridView) | |
Constructor. More... | |
const DofMapper & | dofMapper () const |
std::size_t | numScv () const |
The total number of sub control volumes. More... | |
std::size_t | numScvf () const |
The total number of sub control volume faces. More... | |
std::size_t | numBoundaryScvf () const |
The total number of boundary sub control volume faces. More... | |
std::size_t | numDofs () const |
The total number of degrees of freedom. More... | |
void | update () |
update all fvElementGeometries (do this again after grid adaption) More... | |
const std::vector< GridIndexType > & | scvfIndicesOfScv (GridIndexType scvIdx) const |
const std::vector< NeighborVolVarIndices > & | neighborVolVarIndices (GridIndexType scvIdx) const |
Return the neighbor volVar indices for all scvfs in the scv with index scvIdx. More... | |
const ConnectivityMap & | connectivityMap () const |
Returns the connectivity map of which dofs have derivatives with respect to a given dof. More... | |
const GridView & | gridView () const |
Return the gridView this grid geometry object lives on. More... | |
const VertexMapper & | vertexMapper () const |
Returns the mapper for vertices to indices for constant grids. More... | |
VertexMapper & | vertexMapper () |
Returns the mapper for vertices to indices for possibly adaptive grids. More... | |
const ElementMapper & | elementMapper () const |
Returns the mapper for elements to indices for constant grids. More... | |
ElementMapper & | elementMapper () |
Returns the mapper for elements to indices for possibly adaptive grids. More... | |
const BoundingBoxTree & | boundingBoxTree () const |
Returns the bounding box tree of the grid. More... | |
const ElementMap & | elementMap () const |
Returns the element index to element map. More... | |
Element | element (GridIndexType eIdx) const |
Get an element from a global element index. More... | |
const GlobalCoordinate & | bBoxMin () const |
The coordinate of the corner of the GridView's bounding box with the smallest values. More... | |
const GlobalCoordinate & | bBoxMax () const |
The coordinate of the corner of the GridView's bounding box with the largest values. More... | |
bool | isPeriodic () const |
Returns if the grid geometry is periodic (at all) More... | |
void | setPeriodic (bool value=true) |
Set the periodicity of the grid geometry. More... | |
Static Public Attributes | |
static constexpr DiscretizationMethod | discMethod = DiscretizationMethod::cctpfa |
Export the discretization method this geometry belongs to. More... | |
static constexpr int | maxElementStencilSize = LocalView::maxNumElementScvfs*Traits::maxNumScvfNeighbors + 1 |
The maximum admissible stencil size (used for static memory allocation during assembly) More... | |
using Dumux::CCTpfaFVGridGeometry< GV, false, Traits >::DofMapper = typename Traits::ElementMapper |
export dof mapper type
|
inherited |
export the element mapper type
|
inherited |
export the global coordinate type
|
inherited |
export the grid type
using Dumux::CCTpfaFVGridGeometry< GV, false, Traits >::GridView = GV |
Export the type of the grid view.
using Dumux::CCTpfaFVGridGeometry< GV, false, Traits >::LocalView = typename Traits::template LocalView<ThisType, false> |
export the type of the fv element geometry (the local view type)
using Dumux::CCTpfaFVGridGeometry< GV, false, Traits >::SubControlVolume = typename Traits::SubControlVolume |
export the type of sub control volume
using Dumux::CCTpfaFVGridGeometry< GV, false, Traits >::SubControlVolumeFace = typename Traits::SubControlVolumeFace |
export the type of sub control volume
|
inherited |
export the vertex mapper type
|
inline |
Constructor.
|
inlineinherited |
The coordinate of the corner of the GridView's bounding box with the largest values.
|
inlineinherited |
The coordinate of the corner of the GridView's bounding box with the smallest values.
|
inlineinherited |
Returns the bounding box tree of the grid.
|
inline |
Returns the connectivity map of which dofs have derivatives with respect to a given dof.
|
inline |
the element mapper is the dofMapper this is convenience to have better chance to have the same main files for box/tpfa/mpfa...
|
inlineinherited |
Get an element from a global element index.
|
inlineinherited |
Returns the element index to element map.
|
inlineinherited |
Returns the mapper for elements to indices for possibly adaptive grids.
|
inlineinherited |
Returns the mapper for elements to indices for constant grids.
|
inlineinherited |
Return the gridView this grid geometry object lives on.
|
inlineinherited |
Returns if the grid geometry is periodic (at all)
|
inline |
Return the neighbor volVar indices for all scvfs in the scv with index scvIdx.
|
inline |
The total number of boundary sub control volume faces.
|
inline |
The total number of degrees of freedom.
|
inline |
The total number of sub control volumes.
|
inline |
The total number of sub control volume faces.
|
inline |
|
inlineinherited |
Set the periodicity of the grid geometry.
|
inline |
update all fvElementGeometries (do this again after grid adaption)
|
inlineinherited |
Returns the mapper for vertices to indices for possibly adaptive grids.
|
inlineinherited |
Returns the mapper for vertices to indices for constant grids.
|
staticconstexpr |
Export the discretization method this geometry belongs to.
|
staticconstexpr |
The maximum admissible stencil size (used for static memory allocation during assembly)