Initial conditions for simple waves problem in an ideal gas. More...
#include <string>
#include "../one_dimensional/spatial_distribution1d.hpp"
#include "../common/equation_of_state.hpp"
#include "../common/ideal_gas.hpp"
Go to the source code of this file.
Classes | |
class | ConstEntropy |
Pressure distribution with constant entropy construct. More... | |
class | SoundSpeedDist |
Spatial distribution of the speed of sound. More... | |
class | ConstRiemannInv |
Velocity distribution where the Riemann invariant is constant throughout. More... | |
class | SimpleWaveIdealGasInitCond |
Initial conditions for simple waves in an ideal gas. More... | |
class | EntropyProf |
Spatial distribution of the entropy. More... | |
Functions | |
double | calc_entropy (double d, double p, double g) |
Calculates the entropy of an ideal gas. More... | |
double | calc_riemann_invariant (double v, double c, double g, bool dir) |
Calculates the Riemann invariant. More... | |
Initial conditions for simple waves problem in an ideal gas.
Definition in file simple_waves_ideal_gas.hpp.
double calc_entropy | ( | double | d, |
double | p, | ||
double | g | ||
) |
Calculates the entropy of an ideal gas.
d | Density |
p | Pressure |
g | Adiabatic index |
Definition at line 4 of file simple_waves_ideal_gas.cpp.
double calc_riemann_invariant | ( | double | v, |
double | c, | ||
double | g, | ||
bool | dir | ||
) |
Calculates the Riemann invariant.
v | Velocity |
c | Sound speed |
g | Adiabatic index |
dir | Direction |
Definition at line 32 of file simple_waves_ideal_gas.cpp.