12#ifndef FREEFLOW_NAVIERSTOKES_MOMENTUM_BOUNDARY_TYPES_HH
13#define FREEFLOW_NAVIERSTOKES_MOMENTUM_BOUNDARY_TYPES_HH
31 for (
int eqIdx=0; eqIdx <
size; ++eqIdx)
51 for (
int eqIdx=0; eqIdx <
size; ++eqIdx)
89 for (
int i = 0; i <
size; ++i)
Class to specify the type of a boundary.
Definition: common/boundarytypes.hh:26
void resetEq(int eqIdx)
Reset the boundary types for one equation.
Definition: common/boundarytypes.hh:51
static constexpr int size()
we have a boundary condition for each equation
Definition: common/boundarytypes.hh:32
Class to specify the type of a boundary condition for the Navier-Stokes model.
Definition: freeflow/navierstokes/momentum/boundarytypes.hh:25
void setAllSymmetry()
Sets a symmetry boundary condition for all equations.
Definition: freeflow/navierstokes/momentum/boundarytypes.hh:49
void resetEq(const int eqIdx)
Reset the boundary types for one equation.
Definition: freeflow/navierstokes/momentum/boundarytypes.hh:38
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:68
NavierStokesMomentumBoundaryTypes()
Definition: freeflow/navierstokes/momentum/boundarytypes.hh:29
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:80
std::array< NavierStokesBoundaryInfo, size > boundaryInfo_
Definition: freeflow/navierstokes/momentum/boundarytypes.hh:103
bool hasBeaversJoseph() const
Returns true if some equation is used to specify a Beavers-Joseph(-Saffman) boundary condition.
Definition: freeflow/navierstokes/momentum/boundarytypes.hh:87
bool isSymmetry() const
Returns true if the there is a symmetry boundary condition.
Definition: freeflow/navierstokes/momentum/boundarytypes.hh:61
Class to specify the type of a boundary.
use bitfields to minimize the size
Definition: freeflow/navierstokes/momentum/boundarytypes.hh:98
bool isBeaversJoseph
Definition: freeflow/navierstokes/momentum/boundarytypes.hh:100
bool isSymmetry
Definition: freeflow/navierstokes/momentum/boundarytypes.hh:99