|
| 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.
|
| constexpr short | getLeftNodeI () const noexcept |
| | left node neighbour
|
| constexpr signed short | getRightNodeI () const noexcept |
| | right node neighbour
|
| constexpr signed short | getGblFaceI () const noexcept |
| | global face
|
| constexpr signed short | getCellIdx () const noexcept |
| | cell index
|
| constexpr bool | hasLeftNeighbour () const noexcept |
| | check left neighbour
|
| constexpr bool | hasRightNeighbour () const noexcept |
| | check rightt neighbour
|
| constexpr eFaceSide | cellFaceSide () const noexcept |
| | face side
|
| constexpr bool | isLeftFace () const noexcept |
| | check face type
|
| constexpr bool | isrightFace () const noexcept |
| | check face type
|
| constexpr bool | isGlobalFace () const noexcept |
| | check face type
|
| constexpr auto | operator<=> (const cellFace &aOther) const |
| | comparison operator (spaceship)
|
Cell face in the finite volume discretization Usage: caculFF(const cellFace& aFace) compute the numerical flux with Godunov-type scheme for example F(UL,UR) with Approximate Riemann Solver (discontinuity or shock represented by cell face).
Also we have a concept of cell or element of our discretization which is an aggregate of cell face (actually a pair). In this implementation we consider 2-components state vector that correspond to (A,Q) state variable (UL1,UL2) and (UR1,UR2).
In our programming environment, first cell face has the following parameters: left index=0, right index=1 (global discretization node) cell face index=0 to 99 (there is 100 cell face) and the last one left index=99 (last node of the mesh), right index=100 (ghost node for BC) with cell face index = 99 (total cell face=100). Then the first cell face x_1/2 and x_3/2 coordinate and the last cell face cellface_0 = pair of cell face (0,1)/(1,2) because the first node is a tied node for now we assume this discretization. Create a cell which is made of a pair of cell face.