Peano
Loading...
Searching...
No Matches
AugmentedStateRiemannSolver.cpph File Reference

Go to the source code of this file.

Namespaces

namespace  applications
 This code is taken from the original ExaHyPE project written by colleagues from the University of Trento.
 
namespace  applications::exahype2
 
namespace  applications::exahype2::ShallowWater
 

Enumerations

enum  applications::exahype2::ShallowWater::RiemannStructure {
  applications::exahype2::ShallowWater::DrySingleRarefaction , applications::exahype2::ShallowWater::SingleRarefactionDry , applications::exahype2::ShallowWater::ShockShock , applications::exahype2::ShallowWater::ShockRarefaction ,
  applications::exahype2::ShallowWater::RarefactionShock , applications::exahype2::ShallowWater::RarefactionRarefaction
}
 The Riemann-struture of the homogeneous Riemann-problem. More...
 

Functions

template<class T >
static GPU_CALLABLE_METHOD RiemannStructure applications::exahype2::ShallowWater::determineRiemannStructure (const T &hLeft, const T &hRight, const T &uLeft, const T &uRight)
 
template<class T >
static GPU_CALLABLE_METHOD void applications::exahype2::ShallowWater::solveLinearEquation (const T matrix[3][3], const T b[3], T x[3])
 
template<class T >
static GPU_CALLABLE_METHOD T applications::exahype2::ShallowWater::computeMiddleState (const T &hLeft, const T &hRight, const T &uLeft, const T &uRight, RiemannStructure &riemannStructure, T *middleSpeeds)
 
template<class T >
static GPU_CALLABLE_METHOD WetDryState applications::exahype2::ShallowWater::determineWetDryState (T &hLeft, T &huLeft, T &hvLeft, T &uLeft, T &vLeft, T &bLeft, T &hRight, T &huRight, T &hvRight, T &uRight, T &vRight, T &bRight, T &hMiddle, WetDryState &wetDryState, RiemannStructure &riemannStructure, T *middleSpeeds)
 
template<class T >
static GPU_CALLABLE_METHOD void applications::exahype2::ShallowWater::computeWaveDecomposition (T &hLeft, T &huLeft, T &uLeft, T &vLeft, T &bLeft, T &hRight, T &huRight, T &uRight, T &vRight, T &bRight, T &hMiddle, const T &sqrtGhLeft, const T &sqrtGhRight, const T &sqrthLeft, const T &sqrthRight, const T &sqrtG, WetDryState &wetDryState, RiemannStructure &riemannStructure, T fWaves[3][3], T waveSpeeds[3], T *middleSpeeds)
 

Variables

constexpr int applications::exahype2::ShallowWater::NEWTON_ITER = 1
 
constexpr double applications::exahype2::ShallowWater::NEWTON_TOL = 1e-5
 
constexpr double applications::exahype2::ShallowWater::CONVERGENCE_TOL = 1e-5
 
constexpr double applications::exahype2::ShallowWater::ZERO_TOL = 1e-5