3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | List of all members
Dumux::CVFEElementBoundaryTypes< BTypes > Class Template Reference

This class stores an array of BoundaryTypes objects. More...

#include <dumux/discretization/cvfe/elementboundarytypes.hh>

Description

template<class BTypes>
class Dumux::CVFEElementBoundaryTypes< BTypes >

This class stores an array of BoundaryTypes objects.

Public Types

using BoundaryTypes = BTypes
 

Public Member Functions

template<class Problem , class FVElementGeometry >
void update (const Problem &problem, const typename FVElementGeometry::Element &element, const FVElementGeometry &fvGeometry)
 Update the boundary types for all vertices of an element. More...
 
bool hasDirichlet () const
 Returns whether the element has a vertex which contains a Dirichlet value. More...
 
bool hasNeumann () const
 Returns whether the element potentially features a Neumann boundary segment. More...
 
const BoundaryTypesoperator[] (std::size_t i) const
 
template<class FVElementGeometry >
const BoundaryTypesget (const FVElementGeometry &fvGeometry, const typename FVElementGeometry::SubControlVolumeFace &scvf) const
 
template<class FVElementGeometry >
const BoundaryTypesget (const FVElementGeometry &, const typename FVElementGeometry::SubControlVolume &scv) const
 

Member Typedef Documentation

◆ BoundaryTypes

template<class BTypes >
using Dumux::CVFEElementBoundaryTypes< BTypes >::BoundaryTypes = BTypes

Member Function Documentation

◆ get() [1/2]

template<class BTypes >
template<class FVElementGeometry >
const BoundaryTypes & Dumux::CVFEElementBoundaryTypes< BTypes >::get ( const FVElementGeometry &  ,
const typename FVElementGeometry::SubControlVolume &  scv 
) const
inline

◆ get() [2/2]

template<class BTypes >
template<class FVElementGeometry >
const BoundaryTypes & Dumux::CVFEElementBoundaryTypes< BTypes >::get ( const FVElementGeometry &  fvGeometry,
const typename FVElementGeometry::SubControlVolumeFace &  scvf 
) const
inline

◆ hasDirichlet()

template<class BTypes >
bool Dumux::CVFEElementBoundaryTypes< BTypes >::hasDirichlet ( ) const
inline

Returns whether the element has a vertex which contains a Dirichlet value.

◆ hasNeumann()

template<class BTypes >
bool Dumux::CVFEElementBoundaryTypes< BTypes >::hasNeumann ( ) const
inline

Returns whether the element potentially features a Neumann boundary segment.

◆ operator[]()

template<class BTypes >
const BoundaryTypes & Dumux::CVFEElementBoundaryTypes< BTypes >::operator[] ( std::size_t  i) const
inline

◆ update()

template<class BTypes >
template<class Problem , class FVElementGeometry >
void Dumux::CVFEElementBoundaryTypes< BTypes >::update ( const Problem &  problem,
const typename FVElementGeometry::Element &  element,
const FVElementGeometry &  fvGeometry 
)
inline

Update the boundary types for all vertices of an element.

Parameters
problemThe problem object which needs to be simulated
elementThe DUNE Codim<0> entity for which the boundary types should be collected
fvGeometryThe element's finite volume geometry

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