3.4
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Attributes | List of all members
Dumux::Detail::PairData< GridView, upwindSchemeOrder > Struct Template Reference

Parallel Data stored per sub face. More...

#include <dumux/discretization/staggered/freeflow/staggeredgeometryhelper.hh>

Description

template<class GridView, int upwindSchemeOrder>
struct Dumux::Detail::PairData< GridView, upwindSchemeOrder >

Parallel Data stored per sub face.



| yyyyyyyy s | | yyyyyyyy s |

| yyyyyyyy s |

In this corner geometry, hasParallelNeighbor will return true for subcontrolvolumeface s belonging to the element filled by 'y's, but hasParallelNeighbor will return false for the subcontrolvolumeface that has the same dofIndex. We name this situation hasHalfParallelNeighbor.


| yyyyyyyy s | yyyyyyyy s

| yyyyyyyy s


In this corner geometry, hasParallelNeighbor will return true for subcontrolvolumeface s belonging to the element filled by 'y's. However, as there also might be a boundary velocity value known at the corner, which can be used instead of the standard parallel velocity in some cases, we want to identify this situation. We name it cornerParallelNeighbor.

Public Types

using Scalar = typename GridView::ctype
 
using GlobalPosition = typename GridView::template Codim< 0 >::Entity::Geometry::GlobalCoordinate
 
using GridIndexType = typename IndexTraits< GridView >::GridIndex
 
using SmallLocalIndexType = typename IndexTraits< GridView >::SmallLocalIndex
 

Public Attributes

std::bitset< upwindSchemeOrder > hasParallelNeighbor
 
bool hasHalfParallelNeighbor = false
 
bool hasCornerParallelNeighbor = false
 
std::array< GridIndexType, upwindSchemeOrder > parallelDofs
 
std::array< Scalar, upwindSchemeOrder > parallelCellWidths
 
bool hasOuterLateral = false
 
std::pair< GridIndexType, GridIndexTypelateralPair
 
SmallLocalIndexType localLateralFaceIdx
 
Scalar lateralDistance
 
GlobalPosition lateralStaggeredFaceCenter
 

Member Typedef Documentation

◆ GlobalPosition

template<class GridView , int upwindSchemeOrder>
using Dumux::Detail::PairData< GridView, upwindSchemeOrder >::GlobalPosition = typename GridView::template Codim<0>::Entity::Geometry::GlobalCoordinate

◆ GridIndexType

template<class GridView , int upwindSchemeOrder>
using Dumux::Detail::PairData< GridView, upwindSchemeOrder >::GridIndexType = typename IndexTraits<GridView>::GridIndex

◆ Scalar

template<class GridView , int upwindSchemeOrder>
using Dumux::Detail::PairData< GridView, upwindSchemeOrder >::Scalar = typename GridView::ctype

◆ SmallLocalIndexType

template<class GridView , int upwindSchemeOrder>
using Dumux::Detail::PairData< GridView, upwindSchemeOrder >::SmallLocalIndexType = typename IndexTraits<GridView>::SmallLocalIndex

Member Data Documentation

◆ hasCornerParallelNeighbor

template<class GridView , int upwindSchemeOrder>
bool Dumux::Detail::PairData< GridView, upwindSchemeOrder >::hasCornerParallelNeighbor = false

◆ hasHalfParallelNeighbor

template<class GridView , int upwindSchemeOrder>
bool Dumux::Detail::PairData< GridView, upwindSchemeOrder >::hasHalfParallelNeighbor = false

◆ hasOuterLateral

template<class GridView , int upwindSchemeOrder>
bool Dumux::Detail::PairData< GridView, upwindSchemeOrder >::hasOuterLateral = false

◆ hasParallelNeighbor

template<class GridView , int upwindSchemeOrder>
std::bitset<upwindSchemeOrder> Dumux::Detail::PairData< GridView, upwindSchemeOrder >::hasParallelNeighbor

◆ lateralDistance

template<class GridView , int upwindSchemeOrder>
Scalar Dumux::Detail::PairData< GridView, upwindSchemeOrder >::lateralDistance

◆ lateralPair

template<class GridView , int upwindSchemeOrder>
std::pair<GridIndexType, GridIndexType> Dumux::Detail::PairData< GridView, upwindSchemeOrder >::lateralPair

◆ lateralStaggeredFaceCenter

template<class GridView , int upwindSchemeOrder>
GlobalPosition Dumux::Detail::PairData< GridView, upwindSchemeOrder >::lateralStaggeredFaceCenter

◆ localLateralFaceIdx

template<class GridView , int upwindSchemeOrder>
SmallLocalIndexType Dumux::Detail::PairData< GridView, upwindSchemeOrder >::localLateralFaceIdx

◆ parallelCellWidths

template<class GridView , int upwindSchemeOrder>
std::array<Scalar, upwindSchemeOrder> Dumux::Detail::PairData< GridView, upwindSchemeOrder >::parallelCellWidths

◆ parallelDofs

template<class GridView , int upwindSchemeOrder>
std::array<GridIndexType, upwindSchemeOrder> Dumux::Detail::PairData< GridView, upwindSchemeOrder >::parallelDofs

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