hydrodynamics.hpp
Go to the documentation of this file.
1 
6 #ifndef HYDRODYNAMICS_HPP
7 #define HYDRODYNAMICS_HPP 1
8 
10 #include "equation_of_state.hpp"
11 #include "../../misc/universal_error.hpp"
12 
20 Primitive CalcPrimitive(double density, double pressure,
21  Vector2D const& velocity,
22  EquationOfState const& eos);
23 
30 (Conserved const& c, EquationOfState const& eos);
31 
38 (Primitive const& p,
39  EquationOfState const& eos);
40 
41 #endif // HYDRODYNAMICS_HPP
Set of conserved variables (extensive)
Primitive Conserved2Primitive(Conserved const &c, EquationOfState const &eos)
Calculates the primitive variables from the conserved.
Hydrodynamic variables.
Primitive CalcPrimitive(double density, double pressure, Vector2D const &velocity, EquationOfState const &eos)
Calculates the primitive variables.
Primitive make_eos_consistent(Primitive const &p, EquationOfState const &eos)
Takes a set of primitive variables that do not necessarily satisfy the equation of state...
Base class for equation of state.
Base class for equation of state.
Primitive hydrodynamic variables.
2D Mathematical vector
Definition: geometry.hpp:15