version 3.10-dev
Dumux::CCTpfaDefaultScvfGeometryTraits< GridView > Struct Template Reference

Default traits class to be used for the sub-control volume faces for the cell-centered finite volume scheme using TPFA. More...

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

Description

template<class GridView>
struct Dumux::CCTpfaDefaultScvfGeometryTraits< GridView >
Template Parameters
GVthe type of the grid view

Classes

struct  ScvfMLGTraits
 

Public Types

using Grid = typename GridView::Grid
 
using Scalar = typename Grid::ctype
 
using GridIndexType = typename IndexTraits< GridView >::GridIndex
 
using LocalIndexType = typename IndexTraits< GridView >::LocalIndex
 
using GridIndexStorage = typename std::conditional_t<(dim< dimWorld), std::vector< GridIndexType >, Dune::ReservedVector< GridIndexType, 2 > >
 
using Geometry = Dune::MultiLinearGeometry< Scalar, dim-1, dimWorld, ScvfMLGTraits< Scalar > >
 
using CornerStorage = typename ScvfMLGTraits< Scalar >::template CornerStorage< dim-1, dimWorld >::Type
 
using GlobalPosition = typename CornerStorage::value_type
 
using BoundaryFlag = Dumux::BoundaryFlag< Grid >
 

Static Public Attributes

static constexpr int dim = Grid::dimension
 
static constexpr int dimWorld = Grid::dimensionworld
 

Member Typedef Documentation

◆ BoundaryFlag

template<class GridView >
using Dumux::CCTpfaDefaultScvfGeometryTraits< GridView >::BoundaryFlag = Dumux::BoundaryFlag<Grid>

◆ CornerStorage

template<class GridView >
using Dumux::CCTpfaDefaultScvfGeometryTraits< GridView >::CornerStorage = typename ScvfMLGTraits<Scalar>::template CornerStorage<dim-1, dimWorld>::Type

◆ Geometry

template<class GridView >
using Dumux::CCTpfaDefaultScvfGeometryTraits< GridView >::Geometry = Dune::MultiLinearGeometry<Scalar, dim-1, dimWorld, ScvfMLGTraits<Scalar> >

◆ GlobalPosition

template<class GridView >
using Dumux::CCTpfaDefaultScvfGeometryTraits< GridView >::GlobalPosition = typename CornerStorage::value_type

◆ Grid

template<class GridView >
using Dumux::CCTpfaDefaultScvfGeometryTraits< GridView >::Grid = typename GridView::Grid

◆ GridIndexStorage

template<class GridView >
using Dumux::CCTpfaDefaultScvfGeometryTraits< GridView >::GridIndexStorage = typename std::conditional_t< (dim<dimWorld), std::vector<GridIndexType>, Dune::ReservedVector<GridIndexType, 2> >

◆ GridIndexType

template<class GridView >
using Dumux::CCTpfaDefaultScvfGeometryTraits< GridView >::GridIndexType = typename IndexTraits<GridView>::GridIndex

◆ LocalIndexType

template<class GridView >
using Dumux::CCTpfaDefaultScvfGeometryTraits< GridView >::LocalIndexType = typename IndexTraits<GridView>::LocalIndex

◆ Scalar

template<class GridView >
using Dumux::CCTpfaDefaultScvfGeometryTraits< GridView >::Scalar = typename Grid::ctype

Member Data Documentation

◆ dim

template<class GridView >
constexpr int Dumux::CCTpfaDefaultScvfGeometryTraits< GridView >::dim = Grid::dimension
staticconstexpr

◆ dimWorld

template<class GridView >
constexpr int Dumux::CCTpfaDefaultScvfGeometryTraits< GridView >::dimWorld = Grid::dimensionworld
staticconstexpr

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