Spatial distribution of the speed of sound. More...
#include <simple_waves_ideal_gas.hpp>
Public Member Functions | |
SoundSpeedDist (SpatialDistribution1D const &pressure, SpatialDistribution1D const &density, EquationOfState const &eos) | |
Class constructor. More... | |
double | operator() (double x) const |
Calculates initial conditions. More... | |
![]() | |
virtual | ~SpatialDistribution1D (void) |
Abstract class for initial conditions. More... | |
Spatial distribution of the speed of sound.
Definition at line 50 of file simple_waves_ideal_gas.hpp.
SoundSpeedDist::SoundSpeedDist | ( | SpatialDistribution1D const & | pressure, |
SpatialDistribution1D const & | density, | ||
EquationOfState const & | eos | ||
) |
Class constructor.
pressure | Pressure Distribution |
density | Density distribution |
eos | Equation of state |
Definition at line 20 of file simple_waves_ideal_gas.cpp.
|
virtual |
Calculates initial conditions.
x | Position |
Implements SpatialDistribution1D.
Definition at line 25 of file simple_waves_ideal_gas.cpp.