This class stores an array of BoundaryTypes objects. More...
#include <dumux/discretization/facecentered/staggered/elementboundarytypes.hh>
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 BoundaryTypes & | operator[] (std::size_t i) const |
Protected Attributes | |
std::vector< BoundaryTypes > | bcTypes_ |
bool | hasDirichlet_ = false |
bool | hasNeumann_ = false |
using Dumux::FaceCenteredStaggeredElementBoundaryTypes< BTypes >::BoundaryTypes = BTypes |
|
inline |
Returns whether the element has a vertex which contains a Dirichlet value.
|
inline |
Returns whether the element potentially features a Neumann boundary segment.
|
inline |
|
inline |
Update the boundary types for all vertices of an element.
problem | The problem object which needs to be simulated |
element | The DUNE Codim<0> entity for which the boundary types should be collected |
fvGeometry | The element's finite volume geometry |
|
protected |
|
protected |
|
protected |