46 Cell(
short aCellIndex,
short aNodeIndex);
54 Cell(
short aCellIndex,
short aNodeIndex,
60 void setCellPair(
const std::pair<cellFace, cellFace>& aPairFaces)
128 void printCell(std::iostream& aStream) {
throw "Not implemented yet"; }
135 friend std::ostream&
operator<< (std::ostream& os,
const Cell& aCell2Print) {
throw "Not implemented yet"; }
unsigned cellNo() const noexcept
Getter.
Definition dbpp_Cell.h:108
cellFace m_leftFace
Definition dbpp_Cell.h:139
void printCell(std::iostream &aStream)
print cell information
Definition dbpp_Cell.h:128
pairofface getPairFaces() const noexcept
Getter.
Definition dbpp_Cell.h:69
void setRightFace(const cellFace &aCellF) noexcept
Set cell right face.
Definition dbpp_Cell.h:93
cellFace getRightFace() const noexcept
Getter.
Definition dbpp_Cell.h:83
cellFace m_rightFace
Definition dbpp_Cell.h:140
unsigned nodeNo() const noexcept
Getter.
Definition dbpp_Cell.h:113
std::pair< cellFace, cellFace > pairofface
Alias (pair of cell face)
Definition dbpp_Cell.h:39
void setNodeNo(unsigned short aNodeNo) noexcept
Set node index.
Definition dbpp_Cell.h:103
void setCellNo(unsigned short aCellNo) noexcept
Set cell index.
Definition dbpp_Cell.h:98
void setLeftFace(const cellFace &aCellF) noexcept
Set cell left face.
Definition dbpp_Cell.h:88
friend std::ostream & operator<<(std::ostream &os, const Cell &aCell2Print)
Stream operator.
Definition dbpp_Cell.h:135
void setCellPair(const std::pair< cellFace, cellFace > &aPairFaces)
Intitialize from pair of cell faces.
Definition dbpp_Cell.h:60
Cell(short aCellIndex, short aNodeIndex)
Ctor from cell index and node nodex.
Definition dbpp_Cell.cpp:6
short m_nodalIndex
Definition dbpp_Cell.h:138
cellFace getLeftFace() const noexcept
Getter.
Definition dbpp_Cell.h:78
auto operator<=>(const Cell &aOther) const =default
spaceship operator comparison operator == and != defauted
short m_cellIndex
Definition dbpp_Cell.h:137
Cell face in the finite volume discretization Usage: caculFF(const cellFace& aFace) compute the numer...
Definition dbpp_CellFace.h:29
Definition DamBreakProb.h:15