Numerical Face Flux Algorithm (Legacy code support Pointer-2-Function)
More...
#include <dbpp_HLLegacyFluxAlgorithm.h>
|
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 MUSCL type at second-order (support legacy code)
|
Numerical Face Flux Algorithm (Legacy code support Pointer-2-Function)
◆ Ptr2FLegacyFluxAlgorithm()
dbpp::Ptr2FLegacyFluxAlgorithm::Ptr2FLegacyFluxAlgorithm |
( |
std::string | aFluxAlgoName, |
|
|
CalculFF | aPtr2Func ) |
support legacy code (flux algorithm scheme pointer-to-function).
- Parameters
-
aPtr2Func | pointer-to-function Use default value variable order (support 2) |
◆ calculFF() [1/5]
FluxTensor dbpp::Ptr2FLegacyFluxAlgorithm::calculFF |
( |
const Sfx::cellFaceVariables & | aCellFaceVar | ) |
|
|
finaloverridevirtual |
numerical face flux calculation.
- Parameters
-
aFaceVariables | cell face variables |
- Returns
- flux tensor
Implements dbpp::FluxAlgorithm.
◆ calculFF() [2/5]
numerical face flux calculation.
- Parameters
-
U1 | first state variable |
U2 | second state variable |
aDomain | computational domain |
aPhysbc | physical boundary |
- Returns
- flux tensor map
Implements dbpp::FluxAlgorithm.
◆ calculFF() [3/5]
numerical face flux calculation.
- Parameters
-
U1 | first state variable |
U2 | second state variable |
aPhysbc | physical boundary |
- Returns
- pair face flux
Implements dbpp::FluxAlgorithm.
◆ calculFF() [4/5]
FluxTensor dbpp::Ptr2FLegacyFluxAlgorithm::calculFF |
( |
const Sfx::StateVector & | aUL, |
|
|
const Sfx::StateVector & | aUR, |
|
|
const cellFace & | aCellFace ) |
|
finaloverridevirtual |
numerical face flux calculation.
- Parameters
-
aUL | left state |
aUR | right state |
aCellFace | cell face |
- Returns
- flux tensor
Implements dbpp::FluxAlgorithm.
◆ calculFF() [5/5]
FluxTensorMap dbpp::Ptr2FLegacyFluxAlgorithm::calculFF |
( |
const std::valarray< float64 > & | aU1, |
|
|
const std::valarray< float64 > & | aU2 ) const |
|
protected |
Legacy code support of pointer-to-function flux algorithm. Reconstr procedure of state variables use MUSCL type at second-order (support legacy code)
◆ getReconstrType()
virtual eReconstrType dbpp::Ptr2FLegacyFluxAlgorithm::getReconstrType |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ getReconstrVarOrder()
int32 dbpp::Ptr2FLegacyFluxAlgorithm::getReconstrVarOrder |
( |
| ) |
const |
|
inlinevirtualnoexcept |
set reconstruction variable order
- Returns
- variable order
Reimplemented from dbpp::FluxAlgorithm.
◆ PtrToFuncName()
std::string dbpp::Ptr2FLegacyFluxAlgorithm::PtrToFuncName |
( |
| ) |
const |
|
inlinenoexcept |
Nujic coefficient.
- Parameters
-
Nujic coefficient
- Returns
- double
P{ointer to function name
- Returns
- string
◆ setReconstrType()
void dbpp::Ptr2FLegacyFluxAlgorithm::setReconstrType |
( |
eReconstrType | aRecnstrType | ) |
|
|
inlineoverridevirtualnoexcept |
set reconstruction type
- Parameters
-
aRecnstrType | type of reconstruction |
Implements dbpp::FluxAlgorithm.
◆ usePhysicalInCompleteFlux()
bool dbpp::Ptr2FLegacyFluxAlgorithm::usePhysicalInCompleteFlux |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ useReconstr()
bool dbpp::Ptr2FLegacyFluxAlgorithm::useReconstr |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
Reconstruction of state variables at cell face.
- Returns
- true/false
Reimplemented from dbpp::FluxAlgorithm.
◆ m_ptr2fName
std::string dbpp::Ptr2FLegacyFluxAlgorithm::m_ptr2fName |
|
private |
◆ m_ptr2func
CalculFF dbpp::Ptr2FLegacyFluxAlgorithm::m_ptr2func |
|
private |
◆ m_varOrder
int32 dbpp::Ptr2FLegacyFluxAlgorithm::m_varOrder |
|
private |
The documentation for this class was generated from the following files: