3.1-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::BoxFacetCouplingElementBoundaryTypes< BTypes > Class Template Reference

This class stores an array of BoundaryTypes objects on an element for the box scheme with coupling occuring across the element facets. More...

#include <dumux/multidomain/facet/box/elementboundarytypes.hh>

Inheritance diagram for Dumux::BoxFacetCouplingElementBoundaryTypes< BTypes >:
Inheritance graph

Description

template<class BTypes>
class Dumux::BoxFacetCouplingElementBoundaryTypes< BTypes >

This class stores an array of BoundaryTypes objects on an element for the box scheme with coupling occuring across the element facets.

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...
 
bool hasOutflow () const
 Returns whether the element potentially features an outflow 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
inherited

Member Function Documentation

◆ hasDirichlet()

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

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

◆ hasNeumann()

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

Returns whether the element potentially features a Neumann boundary segment.

◆ hasOutflow()

template<class BTypes >
bool Dumux::BoxElementBoundaryTypes< BTypes >::hasOutflow ( ) const
inlineinherited

Returns whether the element potentially features an outflow boundary segment.

◆ operator[]()

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

◆ update()

template<class BTypes >
template<class Problem , class Element , class FVElementGeometry >
void Dumux::BoxFacetCouplingElementBoundaryTypes< 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
Note
We need this overload so that we can call different problem interfaces for domain boundary and interior boundaries.

Member Data Documentation

◆ hasDirichlet_

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

◆ hasNeumann_

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

◆ hasOutflow_

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

◆ vertexBCTypes_

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

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