24#ifndef STAGGERED_FREEFLOW_BOUNDARY_TYPES_HH
25#define STAGGERED_FREEFLOW_BOUNDARY_TYPES_HH
45 for (
int eqIdx=0; eqIdx < numEq; ++eqIdx)
66 for (
int eqIdx=0; eqIdx < numEq; ++eqIdx)
83 template<
class T =
void>
92 template<
class T =
void>
126 for (
int i = 0; i < numEq; ++i)
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
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 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:64
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:115
void setAllNeumann()
Prevent setting all boundary conditions to Neumann.
Definition: discretization/staggered/freeflow/boundarytypes.hh:93
std::array< StaggeredFreeFlowBoundaryInfo, numEq > boundaryInfo_
Definition: discretization/staggered/freeflow/boundarytypes.hh:139
void setAllDirichlet()
Prevent setting all boundary conditions to Dirichlet.
Definition: discretization/staggered/freeflow/boundarytypes.hh:84
void resetEq(int eqIdx)
Reset the boundary types for one equation.
Definition: discretization/staggered/freeflow/boundarytypes.hh:52
bool hasBJS() const
Returns true if some equation is used to specify a Beavers-Joseph-Saffman boundary condition.
Definition: discretization/staggered/freeflow/boundarytypes.hh:124
StaggeredFreeFlowBoundaryTypes()
Definition: discretization/staggered/freeflow/boundarytypes.hh:42
bool isSymmetry() const
Returns true if the there is a symmetry boundary condition.
Definition: discretization/staggered/freeflow/boundarytypes.hh:77
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
Definition: discretization/staggered/freeflow/boundarytypes.hh:133
bool visited
Definition: discretization/staggered/freeflow/boundarytypes.hh:134
bool isBJS
Definition: discretization/staggered/freeflow/boundarytypes.hh:136
bool isSymmetry
Definition: discretization/staggered/freeflow/boundarytypes.hh:135
Class to specify the type of a boundary.