System of conservation Law with an initial discontinuity in it. Two states connected by a left and right state which can be represented constant piecewise function over each cell where shock propagate (a cell face define a discontinuity).
More...
#include <dbpp_RiemannProblem.h>
|
| RiemannProblem (Sfx::SCLEquation *aScleq) |
| Constructor.
|
void | setUL (const Sfx::StateVector &aLeftState) |
| State connected to discontinuity.
|
void | setUR (const Sfx::StateVector &aRightState) |
| State connected to discontinuity.
|
Sfx::StateVector | getUL () const |
| Left state vector.
|
Sfx::StateVector | getUR () const |
| Right state vector.
|
Sfx::SCLEquation * | getMthEquations () const |
| System of Conservation LAw.
|
void | setFaceIdx (unsigned int aFaceIx) |
| Face index.
|
auto | getFaceIdx () const |
| Face index.
|
System of conservation Law with an initial discontinuity in it. Two states connected by a left and right state which can be represented constant piecewise function over each cell where shock propagate (a cell face define a discontinuity).
◆ RiemannProblem()
dbpp::RiemannProblem::RiemannProblem |
( |
Sfx::SCLEquation * | aScleq | ) |
|
|
inline |
Constructor.
- Parameters
-
aScleq | System conservation Law |
◆ getFaceIdx()
auto dbpp::RiemannProblem::getFaceIdx |
( |
| ) |
const |
|
inline |
Face index.
- Returns
- cell face index
◆ getMthEquations()
Sfx::SCLEquation * dbpp::RiemannProblem::getMthEquations |
( |
| ) |
const |
|
inline |
System of Conservation LAw.
- Returns
- instance of the math equations
◆ getUL()
Sfx::StateVector dbpp::RiemannProblem::getUL |
( |
| ) |
const |
|
inline |
Left state vector.
- Returns
- state vector left state
◆ getUR()
Sfx::StateVector dbpp::RiemannProblem::getUR |
( |
| ) |
const |
|
inline |
Right state vector.
- Returns
- state vector right state
◆ setFaceIdx()
void dbpp::RiemannProblem::setFaceIdx |
( |
unsigned int | aFaceIx | ) |
|
|
inline |
◆ setUL()
void dbpp::RiemannProblem::setUL |
( |
const Sfx::StateVector & | aLeftState | ) |
|
|
inline |
State connected to discontinuity.
- Parameters
-
◆ setUR()
void dbpp::RiemannProblem::setUR |
( |
const Sfx::StateVector & | aRightState | ) |
|
|
inline |
State connected to discontinuity.
- Parameters
-
◆ m_faceIdx
short dbpp::RiemannProblem::m_faceIdx |
|
private |
◆ m_sysConsLaws
Sfx::SCLEquation* dbpp::RiemannProblem::m_sysConsLaws |
|
private |
System of conservation laws
◆ m_UL
Sfx::StateVector dbpp::RiemannProblem::m_UL |
|
private |
◆ m_UR
Sfx::StateVector dbpp::RiemannProblem::m_UR |
|
private |
The documentation for this class was generated from the following file: