HLLFlux Struct ReferenceΒΆ

adc_cpp: pops::HLLFlux Struct Reference
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
pops::HLLFlux Struct Reference

HLLFlux (Harten-Lax-van Leer): 2 signal speeds, less diffusive than Rusanov. More...

#include <numerical_flux.hpp>

+ Collaboration diagram for pops::HLLFlux:

Public Member Functions

template<class Model >
POPS_HD Model::State operator() (const Model &m, const typename Model::State &UL, const Aux &AL, const typename Model::State &UR, const Aux &AR, int dir) const
 

Detailed Description

HLLFlux (Harten-Lax-van Leer): 2 signal speeds, less diffusive than Rusanov.

Requires model.wave_speeds (signed speeds sL, sR). Less diffusive than Rusanov on shocks and rarefactions; still imperfectly captures contact discontinuities (a single star region). Returns FL if sL >= 0, FR if sR <= 0, the HLL flux otherwise. POPS_HD.

Member Function Documentation

◆ operator()()

template<class Model >
POPS_HD Model::State pops::HLLFlux::operator() ( const Model &  m,
const typename Model::State &  UL,
const Aux AL,
const typename Model::State &  UR,
const Aux AR,
int  dir 
) const
inline
+ Here is the call graph for this function:

The documentation for this struct was generated from the following file: