eos_consistent1d.hpp
Go to the documentation of this file.
1 
6 #ifndef EOSCONSISTENT_HPP
7 #define EOSCONSISTENT_HPP 1
8 
10 #include "../common/equation_of_state.hpp"
11 
12 using std::vector;
13 
15 namespace interpolations1d{
16 
19  {
20  public:
21 
27  EquationOfState const& eos);
28 
29  Primitive operator()
30  (vector<double> const& vp,
31  vector<Primitive> const& hv,
32  double interface_speed,
33  size_t i, int dir, double dt) const;
34 
35  private:
36  SpatialReconstruction1D const& naive_;
37  EquationOfState const& eos_;
38  };
39 }
40 
41 #endif // EOSCONSISTENT_HPP
Base class for spatial reconstruction.
EOSConsistent(SpatialReconstruction1D const &naive, EquationOfState const &eos)
Class constructor.
Interpolations for one dimensional simulation.
Base class for equation of state.
A class that guarantees that a spatial reconstruction would satisfy the equation of state...
Spatial reconstruction.
Primitive hydrodynamic variables.