19 static const std::string
name;
21 template<
int direction>
28 eq.template computePointFlux<direction>(left, fluxLeft);
36 return fmax(eq.template computeWaveSpeed<direction>(left, left),
37 eq.template computeWaveSpeed<direction>(right, right));
Definition: Upwind.hpp:13
#define __host__
Definition: types.hpp:46
static const std::string name
name is "upwind"
Definition: Upwind.hpp:19
double real
Definition: types.hpp:65
Definition: Linear.hpp:33
Definition: AllVariables.hpp:24
__device__ static __host__ real computeFlux(const Equation &eq, const typename Equation::AllVariables &left, const typename Equation::AllVariables &right, typename Equation::ConservedVariables &F)
Definition: Upwind.hpp:22
#define __device__
Definition: types.hpp:45
Various utility functions to implement the tecno flux.
Definition: types.hpp:30
Definition: ConservedVariables.hpp:26