DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
dbpp_LegacyNumericalAlgo.cpp File Reference
#include <cassert>
#include <iostream>
#include "include/Sfx_UniversalConstants.h"
#include "dbpp_SimulationUtilities.hpp"
#include "dbpp_LegacyNumericalAlgo.h"
#include "../SfxBase/Sfx_StVenant1DTerms.h"
#include "../SfxBase/Sfx_MathFunctions.hpp"

Namespaces

namespace  dbpp

Functions

void dbpp::TraitementTermeP (std::vector< float64 > &PF2, std::vector< float64 > &P2, const std::vector< float64 > &U1, const int NbSections, const float64 B=1)
 Compute pressure term (finite difference derivative)
void dbpp::CalculS0 (std::vector< float64 > &S0, const std::vector< float64 > &Z, const float64 dx, const int NbSections)
 Compute bed slope term (finite difference derivative)
void dbpp::TraitementTermeSource (std::vector< float64 > &S, const std::vector< float64 > &Q, const std::vector< float64 > &A, const std::vector< float64 > &Z, const std::vector< float64 > &n, const float64 dx, const int NbSections, const float64 B=1)
 Compute source term (friction and bed slope)
void dbpp::TraitementTermeSource2 (std::vector< float64 > &S, const std::vector< float64 > &Q, const std::vector< float64 > &A, const std::vector< float64 > &H, const std::vector< float64 > &n, const float64 dx, const int NbSections=101, const float64 B=1.)
 Compute source term (friction and bed slope)
void dbpp::CalculFFHLL (std::vector< float64 > &FF1, std::vector< float64 > &FF2, const std::vector< float64 > &U1, const std::vector< float64 > &U2, std::vector< float64 > &dU1, std::vector< float64 > &dU2, const int NbSections, float64 B)
void dbpp::CalculFFHLL (std::vector< float64 > &FF1, std::vector< float64 > &FF2, const std::vector< float64 > &U1, const std::vector< float64 > &U2, float64 B)
void dbpp::TreatmentSource2 (std::vector< float64 > &aS, std::vector< float64 > &&aQ, std::vector< float64 > &&aA, std::vector< float64 > &&aH, const std::vector< float64 > &n, float64 aDx, unsigned aNbSections)