Public Member Functions | List of all members
ERSIG Class Reference

Exact Riemann solver for ideal gas. More...

#include <ersig.hpp>

Inheritance diagram for ERSIG:
Inheritance graph
[legend]
Collaboration diagram for ERSIG:
Collaboration graph
[legend]

Public Member Functions

 ERSIG (double g, string const &vacuum_behaviour="throw exception")
 Class constructor. More...
 
Conserved operator() (Primitive const &left, Primitive const &right, double velocity) const
 Solve Riemann porblme. More...
 

Detailed Description

Exact Riemann solver for ideal gas.

Definition at line 15 of file ersig.hpp.

Constructor & Destructor Documentation

◆ ERSIG()

ERSIG::ERSIG ( double  g,
string const &  vacuum_behaviour = "throw exception" 
)

Class constructor.

Parameters
gAdiabatic index
vacuum_behaviourToggles optional behaviour in case of vacuum

Definition at line 559 of file ersig.cpp.

Member Function Documentation

◆ operator()()

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

Solve Riemann porblme.

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

Implements RiemannSolver.

Definition at line 564 of file ersig.cpp.

Here is the call graph for this function:

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