24#ifndef FREEFLOW_NAVIERSTOKES_BOUNDARY_TYPES_HH
25#define FREEFLOW_NAVIERSTOKES_BOUNDARY_TYPES_HH
44 for (
int eqIdx=0; eqIdx < numEq; ++eqIdx)
64 for (
int eqIdx=0; eqIdx < numEq; ++eqIdx)
80 template<
class T =
void>
89 template<
class T =
void>
120 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:36
Class to specify the type of a boundary condition for the Navier-Stokes model.
Definition: freeflow/navierstokes/boundarytypes.hh:38
void setAllSymmetry()
Sets a symmetry boundary condition for all equations.
Definition: freeflow/navierstokes/boundarytypes.hh:62
void resetEq(const int eqIdx)
Reset the boundary types for one equation.
Definition: freeflow/navierstokes/boundarytypes.hh:51
bool hasBeaversJoseph() const
Returns true if some equation is used to specify a Beavers-Joseph(-Saffman) boundary condition.
Definition: freeflow/navierstokes/boundarytypes.hh:118
void setAllNeumann()
Prevent setting all boundary conditions to Neumann.
Definition: freeflow/navierstokes/boundarytypes.hh:90
std::array< NavierStokesBoundaryInfo, numEq > boundaryInfo_
Definition: freeflow/navierstokes/boundarytypes.hh:134
NavierStokesBoundaryTypes()
Definition: freeflow/navierstokes/boundarytypes.hh:42
void setBeaversJoseph(const int eqIdx)
Set a boundary condition for a single equation to Beavers-Joseph(-Saffmann) (special case of Dirichle...
Definition: freeflow/navierstokes/boundarytypes.hh:99
void setAllDirichlet()
Prevent setting all boundary conditions to Dirichlet.
Definition: freeflow/navierstokes/boundarytypes.hh:81
bool isSymmetry() const
Returns true if the there is a symmetry boundary condition.
Definition: freeflow/navierstokes/boundarytypes.hh:74
bool isBeaversJoseph(const int eqIdx) const
Returns true if an equation is used to specify a Beavers-Joseph(-Saffman) boundary condition.
Definition: freeflow/navierstokes/boundarytypes.hh:111
use bitfields to minimize the size
Definition: freeflow/navierstokes/boundarytypes.hh:129
bool isBeaversJoseph
Definition: freeflow/navierstokes/boundarytypes.hh:131
bool isSymmetry
Definition: freeflow/navierstokes/boundarytypes.hh:130
Class to specify the type of a boundary.