Classes | Functions
simple_waves_ideal_gas.hpp File Reference

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"
Include dependency graph for simple_waves_ideal_gas.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Initial conditions for simple waves problem in an ideal gas.

Author
Almog Yalinewich

Definition in file simple_waves_ideal_gas.hpp.

Function Documentation

◆ calc_entropy()

double calc_entropy ( double  d,
double  p,
double  g 
)

Calculates the entropy of an ideal gas.

Parameters
dDensity
pPressure
gAdiabatic index
Returns
Entropy

Definition at line 4 of file simple_waves_ideal_gas.cpp.

Here is the caller graph for this function:

◆ calc_riemann_invariant()

double calc_riemann_invariant ( double  v,
double  c,
double  g,
bool  dir 
)

Calculates the Riemann invariant.

Parameters
vVelocity
cSound speed
gAdiabatic index
dirDirection
Returns
Riemann invariant

Definition at line 32 of file simple_waves_ideal_gas.cpp.

Here is the caller graph for this function: