Initial conditions for simple waves in an ideal gas. More...
#include <simple_waves_ideal_gas.hpp>
Public Member Functions | |
| SimpleWaveIdealGasInitCond (SpatialDistribution1D const &density, double entropy, double adiabatic_index, double edge=3) | |
| Class constructor. More... | |
| IdealGas const & | getEOS (void) const |
| Returns the equation of state. More... | |
| SpatialDistribution1D const & | getProfile (string pname) const |
| Returns the appropriate spatial profile. More... | |
Initial conditions for simple waves in an ideal gas.
The user supplies this class with a density distribution, and the class calculates the corresponding pressure and velocity so it would be a simple wave.
Definition at line 110 of file simple_waves_ideal_gas.hpp.
| SimpleWaveIdealGasInitCond::SimpleWaveIdealGasInitCond | ( | SpatialDistribution1D const & | density, |
| double | entropy, | ||
| double | adiabatic_index, | ||
| double | edge = 3 |
||
| ) |
Class constructor.
| density | Density profile |
| entropy | Entropy |
| adiabatic_index | Adiabatic index |
| edge | Position outside the disturbed region |
Definition at line 51 of file simple_waves_ideal_gas.cpp.

| IdealGas const & SimpleWaveIdealGasInitCond::getEOS | ( | void | ) | const |
Returns the equation of state.
Definition at line 65 of file simple_waves_ideal_gas.cpp.
| SpatialDistribution1D const & SimpleWaveIdealGasInitCond::getProfile | ( | string | pname | ) | const |
Returns the appropriate spatial profile.
| pname | Name of the Hydrodynamic variables |
Definition at line 70 of file simple_waves_ideal_gas.cpp.
1.8.13