![]() |
DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
|
#include <dbpp_MUSCLReconstr.hpp>
Public Member Functions | |
| MUSCLReconstr ()=default | |
| MUSCLReconstr (slopeLimiterFunc aFunction, unsigned aOrder) | |
| void | setFaceVariableOrder (short aOrder) |
| void | setSlopeLimiter (slopeLimiterFunc aSlopeLimiterFunc) |
| void | setDUOrder (short aDUOrder) |
| short | getDUOrder () const |
| void | setReconstrVariableOrder (short aVarOrder) |
| short | getReconstrVariableOrder () const |
| void | setPhysicalBndCnd () |
| template<std::ranges::contiguous_range Range> | |
| std::list< Sfx::cellFaceVariables > | reconstr (const dbpp::Omega &aOmega, Range &&aA, Range &&aQ) |
| void | setPhysicalBC (const dbpp::PhysicalBoundaryCnd &aPhysBC) |
| virtual std::vector< Sfx::cellFaceVariables > | reconstr (const Sfx::StateVectorField &aU, const std::shared_ptr< FiniteVolumeDiscretization > &aGblDiscr) |
Private Types | |
| using | CellId = short |
| using | slopeLimiterFunc = std::function<float64(float64, float64)> |
| using | mapcellfaceVar = std::map<short, std::pair<Sfx::StateVector, Sfx::StateVector>> |
Private Attributes | |
| short | m_dUOrder {1} |
| short | m_faceVarOrder {2} |
| PhyBCNdlConstraint | m_upstreamBC |
| PhyBCNdlConstraint | m_downstreamBC |
@Brief "Model of" the interpolating process of state variables at the cell interfaces.
Class that model the reconstruction process of the state variables at cell interface.
MUSCL reconstruction U_i+1/2 = U_i + dU_i where dU is the gradient function. We use a limiter function to control variation ... TVD process
USE CASE
MUSCLReconstr w_musclExtrapolation; // Monolitic Upstream System Conservation Law setReconstrVariableOrder(2); Reconstruction of state variables at cell face by using slope limiter and TVD method std::function<float64(float64, float64)> w_minmodFunc = HydroUtils::minmod; setSlopeLimiter(HydroUtils::minmod); // slope limiter gradient setDUOrder(1); // gradient over each cell at 1st order computeDU1stOrder( vectorField, GlobalDiscretization); gradient
|
private |
|
private |
|
private |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
default value
|
private |
default value
|
private |