DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
dbpp_FluxAlgorithmFunctions.hpp File Reference
#include <valarray>
#include "include/Sfx_UniversalConstants.h"

Go to the source code of this file.

Namespaces

namespace  dbpp

Functions

template<typename T, typename ArrayType = std::valarray<T>>
void dbpp::hllFluxAlgorithm (ArrayType &aFF1, ArrayType &aFF2, const ArrayType &aU1, const ArrayType &aU2, ArrayType &&dU1, ArrayType &&dU2) noexcept
 Compute numerical flux according to HLL algorithm ()
template<typename ArrayType, auto NbSections = Sfx::EMCNEILNbSections::value>
void dbpp::hllFluxAlgorithm (ArrayType &aFF1, ArrayType &aFF2, const ArrayType &aU1, const ArrayType &aU2) noexcept
 Numerical algorithm using default values for function template parameters.