Spatial distribution of the entropy. More...
#include <simple_waves_ideal_gas.hpp>
Public Member Functions | |
EntropyProf (SpatialDistribution1D const &density, SpatialDistribution1D const &pressure, double adiabatic_index) | |
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 entropy.
Definition at line 150 of file simple_waves_ideal_gas.hpp.
EntropyProf::EntropyProf | ( | SpatialDistribution1D const & | density, |
SpatialDistribution1D const & | pressure, | ||
double | adiabatic_index | ||
) |
Class constructor.
density | Density distribution |
pressure | Pressure distribution |
adiabatic_index | Adiabatic index |
Definition at line 84 of file simple_waves_ideal_gas.cpp.
|
virtual |
Calculates initial conditions.
x | Position |
Implements SpatialDistribution1D.
Definition at line 90 of file simple_waves_ideal_gas.cpp.