Alsvinn
0.5.3
The fast FVM simulator with UQ support
|
#include <alsfvm/numflux/euler/HLL3.hpp>
Public Types | |
typedef Types< nsd >::rvec | rvec |
Public Member Functions | |
template<> | |
const std::string | name |
template<> | |
const std::string | name |
template<> | |
const std::string | name |
Static Public Member Functions | |
template<int direction> | |
__device__ static __host__ real | computeFlux (const equation::euler::Euler< nsd > &eq, const equation::euler::AllVariables< nsd > &left, const equation::euler::AllVariables< nsd > &right, equation::euler::ConservedVariables< nsd > &F) |
template<int direction> | |
__device__ static __host__ void | computeHLLSpeeds (const equation::euler::Euler< nsd > &eq, const equation::euler::AllVariables< nsd > &left, const equation::euler::AllVariables< nsd > &right, real &speedLeft, real &speedRight, real &cs) |
Static Public Attributes | |
static const std::string | name |
name is "hll3" More... | |
This is a utility class that only has the method computeFlux This will compute the HLL3 (Harten-van Leer-Lax 3 wave) flux. See eg. http://link.springer.com/chapter/10.1007/978-3-662-03490-3_10#page-1 (requires springerlink).
This class is meant to be used with EulerNumericalFluxCPU or EulerNumericalFluxGPU
typedef Types<nsd>::rvec alsfvm::numflux::euler::HLL3< nsd >::rvec |
|
inlinestatic |
|
inlinestatic |
Computes the wave speeds for the given direction
[in] | left | the values on the left side of the grid cell ("left" after we align the grid to the direction) |
[in] | right | the values on the right side of the grid cell |
[in] | eq | the equation instance |
[out] | speedLeft | the speed to the left side |
[out] | speedRight | the speed to the right |
[out] | cs | the speed of sound |
const std::string alsfvm::numflux::euler::HLL3< 3 >::name | ( | ) |
const std::string alsfvm::numflux::euler::HLL3< 2 >::name | ( | ) |
const std::string alsfvm::numflux::euler::HLL3< 1 >::name | ( | ) |
|
static |
name is "hll3"