Alsvinn  0.5.3
The fast FVM simulator with UQ support
Static Public Member Functions | Static Public Attributes | List of all members
alsfvm::numflux::burgers::Godunov Class Reference

#include <alsfvm/numflux/burgers/Godunov.hpp>

Static Public Member Functions

template<int direction>
__device__ static __host__ real computeFlux (const equation::burgers::Burgers &eq, const equation::burgers::AllVariables &left, const equation::burgers::AllVariables &right, equation::burgers::ConservedVariables &F)
 

Static Public Attributes

static const std::string name = "godunov"
 name is "godunov" More...
 

Detailed Description

The Godunov flux for the Burgers equation.

Approximate the flux through

\[ F_{i+1/2} = \max(f(\max(U_{j}, 0)), f(\min(U_{j+1},0))). \]

Member Function Documentation

◆ computeFlux()

template<int direction>
__device__ static __host__ real alsfvm::numflux::burgers::Godunov::computeFlux ( const equation::burgers::Burgers eq,
const equation::burgers::AllVariables left,
const equation::burgers::AllVariables right,
equation::burgers::ConservedVariables F 
)
inlinestatic

Member Data Documentation

◆ name

const std::string alsfvm::numflux::burgers::Godunov::name = "godunov"
static

name is "godunov"


The documentation for this class was generated from the following files: