44 signed short aGblFaceIdx = -1,
45 signed short aLeftNodeIdx = -1,
46 signed short aRightNodeIdx = 0,
47 signed short aCellIdx = 0)
112 if (cmp1 != 0)
return cmp1;
114 if (cmp2 != 0)
return cmp2;
116 if(cmp3 != 0)
return cmp3;
127 os <<
"Cell face Id is: " << aCface.
m_gblFaceI <<
"\n"
128 <<
"Left Node Id is: " << aCface.
m_leftNodeI <<
"\n"
eFaceSide m_faceSide
Definition dbpp_CellFace.h:134
friend std::ostream & operator<<(std::ostream &os, const cellFace &aCface)
tream operaator
Definition dbpp_CellFace.h:125
constexpr signed short getRightNodeI() const noexcept
right node neighbour
Definition dbpp_CellFace.h:63
constexpr bool hasLeftNeighbour() const noexcept
check left neighbour
Definition dbpp_CellFace.h:78
eFaceSide
Face type (element/global domain)
Definition dbpp_CellFace.h:34
@ right
Definition dbpp_CellFace.h:34
@ left
Definition dbpp_CellFace.h:34
@ global
Definition dbpp_CellFace.h:34
signed short m_cellIdx
Definition dbpp_CellFace.h:138
constexpr short getLeftNodeI() const noexcept
left node neighbour
Definition dbpp_CellFace.h:58
constexpr signed short getCellIdx() const noexcept
cell index
Definition dbpp_CellFace.h:73
signed short m_leftNodeI
Definition dbpp_CellFace.h:136
constexpr signed short getGblFaceI() const noexcept
global face
Definition dbpp_CellFace.h:68
constexpr cellFace(eFaceSide aFaceSid=eFaceSide::left, signed short aGblFaceIdx=-1, signed short aLeftNodeIdx=-1, signed short aRightNodeIdx=0, signed short aCellIdx=0)
Ctor from cell face id and type.
Definition dbpp_CellFace.h:43
constexpr bool isrightFace() const noexcept
check face type
Definition dbpp_CellFace.h:98
constexpr bool isGlobalFace() const noexcept
check face type
Definition dbpp_CellFace.h:103
constexpr bool hasRightNeighbour() const noexcept
check rightt neighbour
Definition dbpp_CellFace.h:83
signed short m_gblFaceI
Definition dbpp_CellFace.h:135
signed short m_rightNodeI
Definition dbpp_CellFace.h:137
constexpr auto operator<=>(const cellFace &aOther) const
comparison operator (spaceship)
Definition dbpp_CellFace.h:109
constexpr eFaceSide cellFaceSide() const noexcept
face side
Definition dbpp_CellFace.h:88
constexpr bool isLeftFace() const noexcept
check face type
Definition dbpp_CellFace.h:93
Definition DamBreakProb.h:15