![]() |
DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
|
Base RHS terms algoritm (support legacy code). More...
#include <Testvs19_BaseRhsPhysicsAlgorithm.h>
Public Types | |
| enum class | eFluxType { HLL =0 , NujicI =1 } |
Public Member Functions | |
| BaseRhsPhysicsAlgorithm (std::string aName, eFluxType aFFalgo=eFluxType::HLL) | |
| constructor | |
| ~BaseRhsPhysicsAlgorithm () | |
| destructor | |
| void | calculate (dbpp::PhysicalSystem *aPhysys, const std::shared_ptr< dbpp::FiniteVolumeDiscretization > &aGblDiscr, Sfx::Simulation *aSim) override |
| Main algorithm of the SCL (numerical) | |
| void | setPressureTerm (bool aUseP) noexcept |
| name of pointer-to-function | |
| bool | usePressureTerm () const noexcept |
| flag to set if pressure is taken into account | |
| Public Member Functions inherited from Sfx::PhysicalAlgorithm | |
| virtual | ~PhysicalAlgorithm ()=default |
| dtor | |
| virtual bool | isTimeDependent () const noexcept |
| time dependent algorihm | |
Private Attributes | |
| std::string | m_name |
| uint32 | m_varOrder |
| bool | m_usePressure |
| std::shared_ptr< dbpp::FluxAlgorithm > | m_calculFF |
| Sfx::DbgLogger * | m_dbgLog |
Base RHS terms algoritm (support legacy code).
|
strong |
| Testvs19::BaseRhsPhysicsAlgorithm::BaseRhsPhysicsAlgorithm | ( | std::string | aName, |
| eFluxType | aFFalgo = eFluxType::HLL ) |
constructor
| aPtr2FuncName | name of pointer-to-function |
| aPtr2Func | pointer-to-function flux algorithm |
| usePressure | flag for RHS pressure term |
| Testvs19::BaseRhsPhysicsAlgorithm::~BaseRhsPhysicsAlgorithm | ( | ) |
destructor
|
overridevirtual |
Main algorithm of the SCL (numerical)
| aPhysys | physical system |
| aGblDiscr | Finite Volume discretization |
| aSim | Simulation beam |
Implements Sfx::PhysicalAlgorithm.
|
inlinenoexcept |
name of pointer-to-function
...
|
inlinenoexcept |
flag to set if pressure is taken into account
|
private |
pointer to function type
|
private |
logger
|
private |
name
|
private |
flag
|
private |
order