ersig.hpp
Go to the documentation of this file.
1 
6 #ifndef ERSIG_HPP
7 #define ERSIG_HPP 1
8 
9 #include <string>
10 #include "riemann_solver.hpp"
11 
12 using std::string;
13 
15 class ERSIG: public RiemannSolver
16 {
17 public:
18 
23  ERSIG(double g, string const& vacuum_behaviour = "throw exception");
24 
25  Conserved operator()(Primitive const& left,
26  Primitive const& right,
27  double velocity) const;
28 
29 private:
30 
31  const double g_;
32  const string vacuum_behaviour_;
33 };
34 
35 #endif // ERSIG_HPP
Set of conserved variables (extensive)
Conserved operator()(Primitive const &left, Primitive const &right, double velocity) const
Solve Riemann porblme.
Definition: ersig.cpp:564
ERSIG(double g, string const &vacuum_behaviour="throw exception")
Class constructor.
Definition: ersig.cpp:559
Base class for Riemann solver.
Base class for Riemann solver.
Exact Riemann solver for ideal gas.
Definition: ersig.hpp:15
Primitive hydrodynamic variables.