The finite volume geometry (scvs and scvfs) for cell-centered mpfa models on a grid view This builds up the sub control volumes and sub control volume faces.
More...
template<class GV, class Traits>
class Dumux::CCMpfaFVGridGeometry< GV, Traits, false >
The finite volume geometry (scvs and scvfs) for cell-centered mpfa models on a grid view This builds up the sub control volumes and sub control volume faces.
- Note
- For caching disabled we store only some essential index maps to build up local systems on-demand in the corresponding FVElementGeometry
|
| using | FlipScvfIndexSet = std::vector<ScvfOutsideGridIndexStorage> |
| | export the flip scvf index set type
|
| using | GridIVIndexSets = typename Traits::template GridIvIndexSets<ThisType> |
| | export the grid interaction volume index set type
|
| using | SecondaryIvIndicatorType = std::function<bool(const Element&, const Intersection&, bool)> |
| | export the type to be used for indicators where to use the secondary ivs
|
| using | LocalView = typename Traits::template LocalView<ThisType, false> |
| | export the type of the fv element geometry (the local view type)
|
| using | SubControlVolume = typename Traits::SubControlVolume |
| | export the type of sub control volume
|
| using | SubControlVolumeFace = typename Traits::SubControlVolumeFace |
| | export the type of sub control volume
|
| using | ConnectivityMap = typename Traits::template ConnectivityMap<ThisType> |
| | export the connectivity map type
|
| using | DofMapper = typename Traits::ElementMapper |
| | export dof mapper type
|
| using | GridView = GV |
| | export the grid view type
|
| using | MpfaHelper = typename Traits::template MpfaHelper<ThisType> |
| | export the mpfa helper type
|
| using | Grid = typename GV::Grid |
| | export the grid type
|
| using | GlobalCoordinate = typename Element::Geometry::GlobalCoordinate |
| | export the global coordinate type
|
| using | ElementMapper = typename Traits::ElementMapper |
| | export the element mapper type
|
| using | VertexMapper = typename Traits::VertexMapper |
| | export the vertex mapper type
|
|
| | CCMpfaFVGridGeometry (const GridView &gridView) |
| | CCMpfaFVGridGeometry (const GridView &gridView, const SecondaryIvIndicatorType &indicator) |
| | Constructor with user-defined indicator function for secondary interaction volumes.
|
| const DofMapper & | dofMapper () const |
| std::size_t | numScv () const |
| | Returns the total number of sub control volumes.
|
| std::size_t | numScvf () const |
| | Returns the total number of sub control volume faces.
|
| std::size_t | numBoundaryScvf () const |
| | Returns the number of scvfs on the domain boundary.
|
| std::size_t | numDofs () const |
| | Returns the total number of degrees of freedom.
|
| template<bool useSecondary = !hasSingleInteractionVolumeType, std::enable_if_t< useSecondary, bool > = 0> |
| bool | vertexUsesSecondaryInteractionVolume (GridIndexType vIdxGlobal) const |
| template<bool useSecondary = !hasSingleInteractionVolumeType, std::enable_if_t<!useSecondary, bool > = 0> |
| constexpr bool | vertexUsesSecondaryInteractionVolume (GridIndexType vIdxGlobal) const |
| bool | isGhostVertex (const Vertex &v) const |
| | Returns true if a given vertex lies on a processor boundary inside a ghost element.
|
| bool | isGhostVertex (GridIndexType vIdxGlobal) const |
| | Returns true if the vertex (index) lies on a processor boundary inside a ghost element.
|
| void | update () |
| | Updates all finite volume geometries of the grid. Has to be called again after grid adaption.
|
| MpfaHelper | mpfaHelper () const |
| | Returns instance of the mpfa helper type.
|
| const std::vector< GridIndexType > & | scvfIndicesOfScv (GridIndexType scvIdx) const |
| | Returns the sub control volume face indices of an scv by global index.
|
| const std::vector< ScvfOutsideGridIndexStorage > & | neighborVolVarIndices (GridIndexType scvIdx) const |
| | Returns the neighboring vol var indices for each scvf contained in an scv.
|
| const GridIndexType | flipScvfIdx (GridIndexType scvfIdx, unsigned int outsideScvfIdx=0) const |
| const FlipScvfIndexSet & | flipScvfIndexSet () const |
| | Returns the flip scvf index set.
|
| const ConnectivityMap & | connectivityMap () const |
| const GridIVIndexSets & | gridInteractionVolumeIndexSets () const |
| | Returns the grid interaction volume seeds class.
|
| 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.
|
| VertexMapper & | vertexMapper () |
| | Returns the mapper for vertices to indices for possibly adaptive grids.
|
| const ElementMapper & | elementMapper () const |
| | Returns the mapper for elements to indices for constant 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>
template<bool useSecondary = !hasSingleInteractionVolumeType, std::enable_if_t<!useSecondary, bool > = 0>
Returns true if secondary interaction volumes are used around a given vertex (index). If the use of secondary interaction volumes is disabled, this can be evaluated at compile time.
template<class GV, class Traits>
template<bool useSecondary = !hasSingleInteractionVolumeType, std::enable_if_t< useSecondary, bool > = 0>
Returns true if secondary interaction volumes are used around a given vertex (index). This specialization is enabled if the use of secondary interaction volumes is active.