10#include "include/Sfx_cellFaceVariables.h"
21 using ff12pair = std::pair<valarray64_t, valarray64_t>;
60 calculFF(
const Sfx::scalarField1D& U1,
const Sfx::scalarField1D& U2,
70 const cellFace& aCellFace)
override final;
void(*)(DBSArrayType &aFF1, DBSArrayType &aFF2, const DBSArrayType &aU1, const DBSArrayType &aU2) CalculFF
PointerToFunction(numerical flux computation)
Definition SimulationConfig.h:32
Abstract base class for numerical flux algorithm.
Definition dbpp_FluxAlgorithm.h:24
Global Domain (part of global discretization) list of elements and geomeric nodes used by numerical m...
Definition dbpp_Omega.h:19
Physical boundary condition (computational domain) based on characteristic equation ....
Definition dbpp_PhysicalBoundaryCnd.h:22
void setReconstrType(eReconstrType aRecnstrType) noexcept override
set reconstruction type
Definition dbpp_HLLegacyFluxAlgorithm.h:96
std::string PtrToFuncName() const noexcept
Nujic coefficient.
Definition dbpp_HLLegacyFluxAlgorithm.h:121
std::string m_ptr2fName
Definition dbpp_HLLegacyFluxAlgorithm.h:29
bool useReconstr() const noexcept override
Reconstruction of state variables at cell face.
Definition dbpp_HLLegacyFluxAlgorithm.h:91
Ptr2FLegacyFluxAlgorithm(std::string aFluxAlgoName, CalculFF aPtr2Func)
support legacy code (flux algorithm scheme pointer-to-function).
Definition dbpp_HLLegacyFluxAlgorithm.cpp:12
int32 getReconstrVarOrder() const noexcept
set reconstruction variable order
Definition dbpp_HLLegacyFluxAlgorithm.h:86
virtual eReconstrType getReconstrType() const noexcept override
MUSCL as default.
Definition dbpp_HLLegacyFluxAlgorithm.h:101
CalculFF m_ptr2func
Definition dbpp_HLLegacyFluxAlgorithm.h:31
int32 m_varOrder
Definition dbpp_HLLegacyFluxAlgorithm.h:30
bool usePhysicalInCompleteFlux() const noexcept override
Physical flux type.
Definition dbpp_HLLegacyFluxAlgorithm.h:106
FluxTensorMap calculFF(const std::valarray< float64 > &aU1, const std::valarray< float64 > &aU2) const
Legacy code support of pointer-to-function flux algorithm. Reconstr procedure of state variables use ...
Definition dbpp_HLLegacyFluxAlgorithm.cpp:20
Cell face in the finite volume discretization Usage: caculFF(const cellFace& aFace) compute the numer...
Definition dbpp_CellFace.h:29
Definition DamBreakProb.h:15
std::valarray< float64 > valarray64_t
Definition dbpp_HLLegacyFluxAlgorithm.h:20
eReconstrType
Definition dbpp_Enumerations.h:33
@ None
Definition dbpp_Enumerations.h:34
std::pair< valarray64_t, valarray64_t > ff12pair
Definition dbpp_HLLegacyFluxAlgorithm.h:21
Flux tensor field (aggregate initialization).
Definition dbpp_FluxTensor.h:21
Map cell face and flux values.
Definition dbpp_FluxTensor.h:52