Public Member Functions | List of all members
RiemannSolver Class Referenceabstract

Base class for Riemann solver. More...

#include <riemann_solver.hpp>

Inheritance diagram for RiemannSolver:
Inheritance graph
[legend]

Public Member Functions

virtual Conserved operator() (Primitive const &left, Primitive const &right, double velocity) const =0
 Solve Riemann porblme. More...
 

Detailed Description

Base class for Riemann solver.

Definition at line 12 of file riemann_solver.hpp.

Member Function Documentation

◆ operator()()

virtual Conserved RiemannSolver::operator() ( Primitive const &  left,
Primitive const &  right,
double  velocity 
) const
pure virtual

Solve Riemann porblme.

Parameters
leftPrimitive variables on the left side
rightPrimitive variables on the right side
velocityVelocity of the vertex
Returns
Corrected fluxes

Implemented in ERSIG, LagrangianHLLC, Hllc, and Hllc_SR.


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