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

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

Static Public Member Functions

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

Static Public Attributes

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

Detailed Description

The Godunov flux for the buckleyleverett 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::buckleyleverett::Godunov::computeFlux ( const equation::buckleyleverett::BuckleyLeverett eq,
const equation::buckleyleverett::AllVariables left,
const equation::buckleyleverett::AllVariables right,
equation::buckleyleverett::ConservedVariables F 
)
inlinestatic

Member Data Documentation

◆ name

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

name is "godunov"


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