24#ifndef FREEFLOW_NAVIERSTOKES_MOMENTUM_BOUNDARY_TYPES_HH
25#define FREEFLOW_NAVIERSTOKES_MOMENTUM_BOUNDARY_TYPES_HH
43 for (
int eqIdx=0; eqIdx <
size; ++eqIdx)
63 for (
int eqIdx=0; eqIdx <
size; ++eqIdx)
101 for (
int i = 0; i <
size; ++i)
BoundaryTypes()
Definition common/boundarytypes.hh:40
void resetEq(int eqIdx)
Definition common/boundarytypes.hh:63
static constexpr int size()
Definition common/boundarytypes.hh:44
void setAllSymmetry()
Sets a symmetry boundary condition for all equations.
Definition freeflow/navierstokes/momentum/boundarytypes.hh:61
void resetEq(const int eqIdx)
Reset the boundary types for one equation.
Definition freeflow/navierstokes/momentum/boundarytypes.hh:50
void setBeaversJoseph(const int eqIdx)
Set a boundary condition for a single equation to Beavers-Joseph(-Saffmann) (special case of Dirichle...
Definition freeflow/navierstokes/momentum/boundarytypes.hh:80
NavierStokesMomentumBoundaryTypes()
Definition freeflow/navierstokes/momentum/boundarytypes.hh:41
bool isBeaversJoseph(const int eqIdx) const
Returns true if an equation is used to specify a Beavers-Joseph(-Saffman) boundary condition.
Definition freeflow/navierstokes/momentum/boundarytypes.hh:92
std::array< NavierStokesBoundaryInfo, size > boundaryInfo_
Definition freeflow/navierstokes/momentum/boundarytypes.hh:115
bool hasBeaversJoseph() const
Returns true if some equation is used to specify a Beavers-Joseph(-Saffman) boundary condition.
Definition freeflow/navierstokes/momentum/boundarytypes.hh:99
bool isSymmetry() const
Returns true if the there is a symmetry boundary condition.
Definition freeflow/navierstokes/momentum/boundarytypes.hh:73
use bitfields to minimize the size
Definition freeflow/navierstokes/momentum/boundarytypes.hh:110
bool isBeaversJoseph
Definition freeflow/navierstokes/momentum/boundarytypes.hh:112
bool isSymmetry
Definition freeflow/navierstokes/momentum/boundarytypes.hh:111
Class to specify the type of a boundary.