![]() |
DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
|
Numerical flux algorithm based on HLL (Harten-Lax_Levy). More...
#include <dbpp_HLLFluxAlgorithm.h>
Public Types | |
| using | mapcellfaceVar = std::map<short, std::pair<Sfx::StateVector, Sfx::StateVector>> |
Public Member Functions | |
| HLLFluxAlgorithm (const ePhysicalFluxType aPhyFluxType=ePhysicalFluxType::incomplete) | |
| ctor based on physical flux type (default incomplete) | |
| void | setFluxType (ePhysicalFluxType aFluxType) noexcept |
| Complete flux or incomplete. | |
| ePhysicalFluxType | getFluxType () const noexcept |
| physical flux | |
| bool | useReconstr () const noexcept override final |
| use variable reconstruction | |
| bool | usePhysicalCompleteFlux () const noexcept override final |
| default (only hydrostatic term is considered) | |
| void | setReconstrType (eReconstrType aRecnstrType) noexcept |
| Reconstruction of variables. | |
| eReconstrType | getReconstrType () const noexcept |
| MUSCL as default. | |
| void | setPhysicalBndCnd (const PhysicalBoundaryCnd &aPhysbc) noexcept |
| physical boundary condition | |
| void | setReconstrVarOrder (int32 aOrder) noexcept override |
| cell face variable reconstr order (second-order default) | |
| int32 | getReconstrVarOrder () const noexcept override |
| reconstruction variable | |
| void | setReconstrMethod () noexcept |
| MUSCL as default. | |
| void | setFluxAlgoPrms () override |
| Flux algorithm parameters. | |
| void | setApprRiemanSolver (const HLLSolver1D *aRsolver) |
| FluxTensor | calculFF (const Sfx::cellFaceVariables &aFaceVariables) override final |
| numerical flux at cell face | |
| FluxTensorMap | calculFF (const Sfx::scalarField1D &U1, const Sfx::scalarField1D &U2, const Omega &aDomain, const PhysicalBoundaryCnd &aPhysbc) override final |
| Harten-Lax- Levy flux algorithm. | |
| FluxTensor | calculFF (const Sfx::StateVector &aUL, const Sfx::StateVector &aUR, const cellFace &aCellFace) override final |
| Numerical flux algorithm. | |
| FluxTensorMap | calculFF (const Sfx::scalarField1D &aU1, const Sfx::scalarField1D &aU2, const PhysicalBoundaryCnd &aPhysbc) override final |
| Numerical flux algorithm. | |
| Public Member Functions inherited from dbpp::FluxAlgorithm | |
| virtual bool | usePhysicalInCompleteFlux () const noexcept |
| numerical flux based components (only hydrostatic term is considered) | |
Protected Member Functions | |
| FluxTensorMap | calculFF (std::vector< float64 > &&U1, std::vector< float64 > &&U2, const PhysicalBoundaryCnd &aPhysbc) |
| Numerical flux algorithm. | |
| FluxTensorMap | calculFF (const std::valarray< float64 > &aU1, std::valarray< float64 > &aU2, const std::list< cellFace > &aListClFace, const PhysicalBoundaryCnd &aPhysbc) |
| Numerical flux algorithm. | |
| virtual void | computeCellFacePhysicalFlux (const Sfx::cellFaceVariables &aFaceVar) |
| physical flux (FL/FR) for both state variables (A,Q) | |
| virtual void | computeCellFacePhysicalFlux (const Sfx::StateVector &aUL, const Sfx::StateVector &aUR) |
| physical flux (FL/FR) for both state variables (A,Q) | |
Private Member Functions | |
| virtual mapcellfaceVar | reconstr (const std::list< cellFace > &aListCellFace, std::vector< float64 > &&aA, std::vector< float64 > &&aQ) |
| Resonstrution of state varaibles at cell face. | |
Private Attributes | |
| int32 | m_varOrder |
| ePhysicalFluxType | m_fluxType |
| eReconstrType | m_reconstrType |
| MUSCLReconstr | m_musclReconstr |
Numerical flux algorithm based on HLL (Harten-Lax_Levy).
| using dbpp::HLLFluxAlgorithm::mapcellfaceVar = std::map<short, std::pair<Sfx::StateVector, Sfx::StateVector>> |
Alias
|
inline |
ctor based on physical flux type (default incomplete)
|
finaloverridevirtual |
numerical flux at cell face
| aFaceVariables | cell face variables |
Implements dbpp::FluxAlgorithm.
|
inlinefinaloverridevirtual |
Numerical flux algorithm.
| aU1 | first state variable |
| aU2 | second state variable |
| aPhysbc | physical boundary cond |
Implements dbpp::FluxAlgorithm.
|
finaloverridevirtual |
Harten-Lax- Levy flux algorithm.
| U1 | scalar field first state variable |
| U2 | scalar field second state variable |
| aDomain | computational domain (cells) |
| aPhysbc | physical boundary cond. |
Implements dbpp::FluxAlgorithm.
|
inlinefinaloverridevirtual |
Numerical flux algorithm.
| aUL | left state |
| aUR | right state |
| cellFace | cell face |
Implements dbpp::FluxAlgorithm.
|
protected |
Numerical flux algorithm.
| aU1 | first state variable |
| aU2 | second state variable |
| aListClFace | list of cell faces |
| aPhysbc | physical boundary cond |
|
protected |
Numerical flux algorithm.
| U1 | first state variable |
| U2 | ssecond state variable |
| aPhysbc | physical boundary cond |
|
protectedvirtual |
physical flux (FL/FR) for both state variables (A,Q)
| aFaceVar |
|
protectedvirtual |
physical flux (FL/FR) for both state variables (A,Q)
| aUL | left state vector |
| aUR | right state vector |
|
inlinenoexcept |
physical flux
|
inlinevirtualnoexcept |
|
inlineoverridevirtualnoexcept |
|
privatevirtual |
Resonstrution of state varaibles at cell face.
| aListCellFace | list of cell faces |
| aA | state variable |
| aQ | state variable |
|
inline |
|
inlineoverridevirtual |
Flux algorithm parameters.
Reimplemented from dbpp::FluxAlgorithm.
|
inlinenoexcept |
Complete flux or incomplete.
| aFluxType |
|
inlinenoexcept |
physical boundary condition
| aPhysbc | physical boundary |
|
inlinenoexcept |
MUSCL as default.
|
inlinevirtualnoexcept |
Reconstruction of variables.
| aRecnstrType | type of reconstruction |
Implements dbpp::FluxAlgorithm.
|
inlineoverridevirtualnoexcept |
cell face variable reconstr order (second-order default)
| aOrder | variable order |
Reimplemented from dbpp::FluxAlgorithm.
|
inlinefinaloverridevirtualnoexcept |
default (only hydrostatic term is considered)
Reimplemented from dbpp::FluxAlgorithm.
|
inlinefinaloverridevirtualnoexcept |
|
private |
flux type
|
private |
muscl reconstruction
|
private |
extrapolation procedure
|
private |
state variable order