version 3.9-dev
Dumux::CVFEElementBoundaryTypes< BTypes > Class Template Reference

This class stores an array of BoundaryTypes objects.

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

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...
 
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

◆ hasNeumann()

template<class BTypes >
bool Dumux::CVFEElementBoundaryTypes< BTypes >::hasNeumann ( ) 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
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: