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

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

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

Description

template<class BTypes>
class Dumux::BoxElementBoundaryTypes< BTypes >

This class stores an array of BoundaryTypes objects.

Public Types

using BoundaryTypes = BTypes
 

Public Member Functions

template<class Problem , class Element , class FVElementGeometry >
void update (const Problem &problem, const 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
 

Protected Attributes

std::vector< BoundaryTypesvertexBCTypes_
 
bool hasDirichlet_ = false
 
bool hasNeumann_ = false
 
bool hasOutflow_ = false
 

Member Typedef Documentation

◆ BoundaryTypes

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

Member Function Documentation

◆ hasDirichlet()

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

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

◆ hasNeumann()

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

Returns whether the element potentially features a Neumann boundary segment.

◆ operator[]()

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

◆ update()

template<class BTypes >
template<class Problem , class Element , class FVElementGeometry >
void Dumux::BoxElementBoundaryTypes< BTypes >::update ( const Problem &  problem,
const 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

Member Data Documentation

◆ hasDirichlet_

template<class BTypes >
bool Dumux::BoxElementBoundaryTypes< BTypes >::hasDirichlet_ = false
protected

◆ hasNeumann_

template<class BTypes >
bool Dumux::BoxElementBoundaryTypes< BTypes >::hasNeumann_ = false
protected

◆ hasOutflow_

template<class BTypes >
bool Dumux::BoxElementBoundaryTypes< BTypes >::hasOutflow_ = false
protected

◆ vertexBCTypes_

template<class BTypes >
std::vector< BoundaryTypes > Dumux::BoxElementBoundaryTypes< BTypes >::vertexBCTypes_
protected

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