3.6-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::FaceCenteredStaggeredElementBoundaryTypes< BTypes > Class Template Reference

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

#include <dumux/discretization/facecentered/staggered/elementboundarytypes.hh>

Description

template<class BTypes>
class Dumux::FaceCenteredStaggeredElementBoundaryTypes< 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
 

Protected Attributes

std::vector< BoundaryTypesbcTypes_
 
bool hasDirichlet_ = false
 
bool hasNeumann_ = false
 

Member Typedef Documentation

◆ BoundaryTypes

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

Member Function Documentation

◆ hasDirichlet()

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

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

◆ hasNeumann()

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

Returns whether the element potentially features a Neumann boundary segment.

◆ operator[]()

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

◆ update()

template<class BTypes >
template<class Problem , class FVElementGeometry >
void Dumux::FaceCenteredStaggeredElementBoundaryTypes< 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

Member Data Documentation

◆ bcTypes_

template<class BTypes >
std::vector<BoundaryTypes> Dumux::FaceCenteredStaggeredElementBoundaryTypes< BTypes >::bcTypes_
protected

◆ hasDirichlet_

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

◆ hasNeumann_

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

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