![]() |
DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
|
"Model of" F_j +/- 1/2 numerical scheme at the cell interface. This class represents the HLL (Harten-Lax-Leer) solving algorithm (based on Riemann approximate solver). More...
#include <dbpp_HLLFlux1D.h>
Public Types | |
enum | eFluxComp { FL1 = 0 , FR1 = 1 , FL2 = 2 , FR2 = 3 } |
Flux component of state variables (cell face left/right) More... | |
using | ShockSpeed = std::pair<float64, float64> |
Aliase shock speed. | |
using | PhysicalFlux = std::tuple<float64, float64, float64, float64> |
Aliasephysical flux. |
Public Member Functions | |
void | setShockSpeed (const ShockSpeed &aShockSpeed) |
Set shock speed. | |
void | setphysicalFlux (const PhysicalFlux &aPhyF) |
Set physical flux. | |
virtual std::pair< float64, float64 > | calculFF (const Sfx::cellFaceVariables &aCellFaceVar) const |
Compute numerical flux at cell face. |
Private Attributes | |
ShockSpeed | m_shocSpeed |
PhysicalFlux | m_physFlux |
"Model of" F_j +/- 1/2 numerical scheme at the cell interface. This class represents the HLL (Harten-Lax-Leer) solving algorithm (based on Riemann approximate solver).
Function object also called Functor.
using dbpp::HLLFlux1D::PhysicalFlux = std::tuple<float64, float64, float64, float64> |
Aliasephysical flux.
using dbpp::HLLFlux1D::ShockSpeed = std::pair<float64, float64> |
Aliase shock speed.
|
inlinevirtual |
Compute numerical flux at cell face.
aCellFaceVar | state variables at cell face |
|
inline |
Set physical flux.
aPhyF | physical flux values |
|
inline |
Set shock speed.
aShockSpeed | shock speed value |
|
private |
physics flux
|
private |
shock speed