template<class GV, class Traits>
class Dumux::BaseGridGeometry< GV, Traits >
Base class for all finite volume grid geometries.
- Template Parameters
-
| GV | the grid view type |
| Traits | traits class |
|
| | BaseGridGeometry (const GridView &gridView) |
| | Constructor computes the bouding box of the entire domain, for e.g. setting boundary conditions.
|
| void | update () |
| | Update all fvElementGeometries (do this again after grid adaption).
|
| const GridView & | gridView () const |
| | Return the gridView this grid geometry object lives on.
|
| const VertexMapper & | vertexMapper () const |
| | Returns the mapper for vertices to indices for constant grids.
|
| const ElementMapper & | elementMapper () const |
| | Returns the mapper for elements to indices for constant grids.
|
| VertexMapper & | vertexMapper () |
| | Returns the mapper for vertices to indices for possibly adaptive grids.
|
| ElementMapper & | elementMapper () |
| | Returns the mapper for elements to indices for possibly adaptive grids.
|
| const BoundingBoxTree & | boundingBoxTree () const |
| | Returns the bounding box tree of the grid.
|
| const ElementMap & | elementMap () const |
| | Returns the element index to element map.
|
| 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.
|
| Element | element (GridIndexType eIdx) const |
| | Get an element from a global element index.
|
| const GlobalCoordinate & | bBoxMin () const |
| | The coordinate of the corner of the GridView's bounding box with the smallest values.
|
| const GlobalCoordinate & | bBoxMax () const |
| | The coordinate of the corner of the GridView's bounding box with the largest values.
|
| bool | isPeriodic () const |
| | Returns if the grid geometry is periodic (at all).
|
| void | setPeriodic (bool value=true) |
| | Set the periodicity of the grid geometry.
|
template<class GV, class Traits>
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