version 3.10-dev
Dumux::CCTpfaDefaultGridGeometryTraits< GridView, MapperTraits > Struct Template Reference

The default traits for the tpfa finite volume grid geometry Defines the scv and scvf types and the mapper types. More...

#include <dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh>

Inheritance diagram for Dumux::CCTpfaDefaultGridGeometryTraits< GridView, MapperTraits >:

Description

template<class GridView, class MapperTraits = DefaultMapperTraits<GridView>>
struct Dumux::CCTpfaDefaultGridGeometryTraits< GridView, MapperTraits >
Template Parameters
thegrid view type

Public Types

using SubControlVolume = CCSubControlVolume< GridView >
 
using SubControlVolumeFace = CCTpfaSubControlVolumeFace< GridView >
 
template<class GridGeometry >
using ConnectivityMap = CCSimpleConnectivityMap< GridGeometry >
 
template<class GridGeometry , bool enableCache>
using LocalView = CCTpfaFVElementGeometry< GridGeometry, enableCache >
 
using ElementMapper = EM
 
using VertexMapper = VM
 

Static Public Attributes

static constexpr int maxNumScvfNeighbors = int(GridView::dimension)<int(GridView::dimensionworld) ? 8 : 1<<(GridView::dimension-1)
 

Member Typedef Documentation

◆ ConnectivityMap

template<class GridView , class MapperTraits = DefaultMapperTraits<GridView>>
template<class GridGeometry >
using Dumux::CCTpfaDefaultGridGeometryTraits< GridView, MapperTraits >::ConnectivityMap = CCSimpleConnectivityMap<GridGeometry>

◆ ElementMapper

template<class GridView , class EM = Dune::MultipleCodimMultipleGeomTypeMapper<GridView>, class VM = Dune::MultipleCodimMultipleGeomTypeMapper<GridView>>
using Dumux::DefaultMapperTraits< GridView, EM, VM >::ElementMapper = EM
inherited

◆ LocalView

template<class GridView , class MapperTraits = DefaultMapperTraits<GridView>>
template<class GridGeometry , bool enableCache>
using Dumux::CCTpfaDefaultGridGeometryTraits< GridView, MapperTraits >::LocalView = CCTpfaFVElementGeometry<GridGeometry, enableCache>

◆ SubControlVolume

template<class GridView , class MapperTraits = DefaultMapperTraits<GridView>>
using Dumux::CCTpfaDefaultGridGeometryTraits< GridView, MapperTraits >::SubControlVolume = CCSubControlVolume<GridView>

◆ SubControlVolumeFace

template<class GridView , class MapperTraits = DefaultMapperTraits<GridView>>
using Dumux::CCTpfaDefaultGridGeometryTraits< GridView, MapperTraits >::SubControlVolumeFace = CCTpfaSubControlVolumeFace<GridView>

◆ VertexMapper

template<class GridView , class EM = Dune::MultipleCodimMultipleGeomTypeMapper<GridView>, class VM = Dune::MultipleCodimMultipleGeomTypeMapper<GridView>>
using Dumux::DefaultMapperTraits< GridView, EM, VM >::VertexMapper = VM
inherited

Member Data Documentation

◆ maxNumScvfNeighbors

template<class GridView , class MapperTraits = DefaultMapperTraits<GridView>>
constexpr int Dumux::CCTpfaDefaultGridGeometryTraits< GridView, MapperTraits >::maxNumScvfNeighbors = int(GridView::dimension)<int(GridView::dimensionworld) ? 8 : 1<<(GridView::dimension-1)
staticconstexpr

State the maximum admissible number of neighbors per scvf Per default, we allow for 8 branches on network/surface grids, where conformity is assumed. For normal grids, we allow a maximum of one hanging node per scvf. Use different traits if you need more.


The documentation for this struct was generated from the following file: