24 namespace buckleyleverett {
38 static const std::string
name;
40 template<
int direction>
46 using namespace equation::buckleyleverett;
47 ConservedVariables fluxLeft;
49 ConservedVariables fluxRight;
53 F = ConservedVariables(fmax(fluxLeft.u, fluxRight.u));
__device__ __host__ real computeWaveSpeed(const ConservedVariables &u, const ExtraVariables &v) const
Definition: BuckleyLeverett.hpp:204
Definition: BuckleyLeverett.hpp:33
Definition: Godunov.hpp:33
#define __host__
Definition: types.hpp:46
Definition: ConservedVariables.hpp:26
__device__ __host__ void computePointFlux(const AllVariables &u, ConservedVariables &F) const
Definition: BuckleyLeverett.hpp:160
double real
Definition: types.hpp:65
__device__ static __host__ real computeFlux(const equation::buckleyleverett::BuckleyLeverett &eq, const equation::buckleyleverett::AllVariables &left, const equation::buckleyleverett::AllVariables &right, equation::buckleyleverett::ConservedVariables &F)
Definition: Godunov.hpp:41
real u
Definition: ConservedVariables.hpp:54
static const std::string name
name is "godunov"
Definition: Godunov.hpp:38
Definition: AllVariables.hpp:24
#define __device__
Definition: types.hpp:45
Various utility functions to implement the tecno flux.
Definition: types.hpp:30