24#ifndef STAGGERED_FREEFLOW_BOUNDARY_TYPES_HH
25#define STAGGERED_FREEFLOW_BOUNDARY_TYPES_HH
44 for (
int eqIdx=0; eqIdx < numEq; ++eqIdx)
65 for (
int eqIdx=0; eqIdx < numEq; ++eqIdx)
82 template<
class T =
void>
91 template<
class T =
void>
101 [[deprecated(
"Use setBeaversJoseph instead. Will be removed after 3.2")]]
122 [[deprecated(
"Use isBeaversJoseph instead. Will be removed after 3.2")]]
139 [[deprecated(
"Use hasBeaversJoseph instead. Will be removed after 3.2")]]
149 for (
int i = 0; i < numEq; ++i)
Class to specify the type of a boundary.
Definition: common/boundarytypes.hh:38
void resetEq(int eqIdx)
Reset the boundary types for one equation.
Definition: common/boundarytypes.hh:63
Template which always yields a false value.
Definition: typetraits.hh:37
Class to specify the type of a boundary condition for the staggered Navier-Stokes model.
Definition: discretization/staggered/freeflow/boundarytypes.hh:38
void setAllSymmetry()
Sets a symmetry boundary condition for all equations.
Definition: discretization/staggered/freeflow/boundarytypes.hh:63
bool isBJS(unsigned eqIdx) const
Returns true if an equation is used to specify a Beavers-Joseph-Saffman boundary condition.
Definition: discretization/staggered/freeflow/boundarytypes.hh:123
bool isBeaversJoseph(unsigned eqIdx) const
Returns true if an equation is used to specify a Beavers-Joseph(-Saffman) boundary condition.
Definition: discretization/staggered/freeflow/boundarytypes.hh:132
void setAllNeumann()
Prevent setting all boundary conditions to Neumann.
Definition: discretization/staggered/freeflow/boundarytypes.hh:92
std::array< StaggeredFreeFlowBoundaryInfo, numEq > boundaryInfo_
Definition: discretization/staggered/freeflow/boundarytypes.hh:163
void setAllDirichlet()
Prevent setting all boundary conditions to Dirichlet.
Definition: discretization/staggered/freeflow/boundarytypes.hh:83
void resetEq(int eqIdx)
Reset the boundary types for one equation.
Definition: discretization/staggered/freeflow/boundarytypes.hh:51
bool hasBJS() const
Returns true if some equation is used to specify a Beavers-Joseph-Saffman boundary condition.
Definition: discretization/staggered/freeflow/boundarytypes.hh:140
StaggeredFreeFlowBoundaryTypes()
Definition: discretization/staggered/freeflow/boundarytypes.hh:42
void setBeaversJoseph(unsigned eqIdx)
Set a boundary condition for a single equation to Beavers-Joseph(-Saffmann) (special case of Dirichle...
Definition: discretization/staggered/freeflow/boundarytypes.hh:109
bool isSymmetry() const
Returns true if the there is a symmetry boundary condition.
Definition: discretization/staggered/freeflow/boundarytypes.hh:76
void setBJS(int eqIdx)
Set a boundary condition for a single equation to Beavers-Joseph-Saffman (special case of Dirichlet b...
Definition: discretization/staggered/freeflow/boundarytypes.hh:102
bool hasBeaversJoseph() const
Returns true if some equation is used to specify a Beavers-Joseph(-Saffman) boundary condition.
Definition: discretization/staggered/freeflow/boundarytypes.hh:147
Definition: discretization/staggered/freeflow/boundarytypes.hh:157
bool visited
Definition: discretization/staggered/freeflow/boundarytypes.hh:158
bool isBeaversJoseph
Definition: discretization/staggered/freeflow/boundarytypes.hh:160
bool isSymmetry
Definition: discretization/staggered/freeflow/boundarytypes.hh:159
Class to specify the type of a boundary.