Base class for all finite volume grid geometries. More...
#include <dumux/discretization/basefvgridgeometry.hh>
Base class for all finite volume grid geometries.
Impl | the type of the actual implementation |
GV | the grid view type |
Traits | the fv geometry traits |
Public Types | |
using | Grid = typename GV::Grid |
export the grid type More... | |
using | GridView = GV |
export the grid view 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 | |
BaseFVGridGeometry (const GV &gridView) | |
void | update () |
Update all fvElementGeometries (do this again after grid adaption) 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... | |
template<class Scv , std::enable_if_t<!std::is_arithmetic< Scv >::value, int > = 0> | |
Element | element (const Scv &scv) const |
Get an element from a sub-control volume. 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... | |
|
inherited |
export the element mapper type
|
inherited |
export the global coordinate type
|
inherited |
export the grid type
|
inherited |
export the grid view type
|
inherited |
export the vertex mapper type
|
inline |
|
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.
|
inlineinherited |
Get an element from a sub-control volume.
|
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)
|
inlineinherited |
Set the periodicity of the grid geometry.
|
inlineinherited |
Update all fvElementGeometries (do this again after grid adaption)
Update the mappers
Compute the bouding box of the entire domain, for e.g. setting boundary conditions
reset bounding box tree and the element map until requested the next time
|
inlineinherited |
Returns the mapper for vertices to indices for possibly adaptive grids.
|
inlineinherited |
Returns the mapper for vertices to indices for constant grids.