6 #ifndef SIMPLE_WAVES_IDEAL_GAS_HPP 7 #define SIMPLE_WAVES_IDEAL_GAS_HPP 1 10 #include "../one_dimensional/spatial_distribution1d.hpp" 11 #include "../common/equation_of_state.hpp" 12 #include "../common/ideal_gas.hpp" 123 double adiabatic_index,
161 double adiabatic_index);
172 #endif // SIMPLE_WAVES_IDEAL_GAS_HPP Ideal gas equation of state.
Spatial distribution of the speed of sound.
double calc_riemann_invariant(double v, double c, double g, bool dir)
Calculates the Riemann invariant.
Velocity distribution where the Riemann invariant is constant throughout.
Spatial distribution of the entropy.
Pressure distribution with constant entropy construct.
Base class for initial conditions.
Base class for equation of state.
Initial conditions for simple waves in an ideal gas.
double calc_entropy(double d, double p, double g)
Calculates the entropy of an ideal gas.
ConstEntropy(SpatialDistribution1D const &density, double s, double g)
Class constructor.
double operator()(double x) const
Calculates initial conditions.