DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
dbpp_Reconstruction.hpp File Reference
#include <type_traits>
#include <ranges>
#include <vector>
#include <numeric>
#include <functional>
#include <valarray>
#include "dbpp_SimulationUtilities.hpp"
#include "include/Sfx_StateVector.h"
#include "include/Sfx_StateVariables.h"
#include "include/Sfx_DefineTypes.h"

Go to the source code of this file.

Namespaces

namespace  dbpp

Functions

template<typename FuncLimiter>
std::pair< std::valarray< float64 >, std::valarray< float64 > > dbpp::computeDU12 (const std::valarray< float64 > &aU1, const std::valarray< float64 > &aU2, FuncLimiter &&aFuncLimtr)
 Slope limiter (gradient)
template<typename F, typename NumArrayType, typename = std::enable_if<std::is_same_v<NumArrayType, std::valarray<double>>>>
auto dbpp::MUSCLReconstruction (const NumArrayType &aU1, const NumArrayType &aU2, F &&aSlopeLimiter)
 MUSCL reconstruction procedure of state variables at cell face.
template<typename T, typename CONT, typename std::enable_if_t<!std::is_lvalue_reference< T >::value >>
decltype(auto) dbpp::MUSCLReconstrv (T &&aA, T &&aQ, CONT aListCellFaces)
 Variables extrapolation according to MUSCL algorithm.