Velocity distribution where the Riemann invariant is constant throughout. More...
#include <simple_waves_ideal_gas.hpp>


Public Member Functions | |
| ConstRiemannInv (double rv, bool dir, SpatialDistribution1D const &sound_speed, double g) | |
| Class constructor. More... | |
| double | operator() (double x) const |
| Calculates initial conditions. More... | |
Public Member Functions inherited from SpatialDistribution1D | |
| virtual | ~SpatialDistribution1D (void) |
| Abstract class for initial conditions. More... | |
Velocity distribution where the Riemann invariant is constant throughout.
Definition at line 83 of file simple_waves_ideal_gas.hpp.
| ConstRiemannInv::ConstRiemannInv | ( | double | rv, |
| bool | dir, | ||
| SpatialDistribution1D const & | sound_speed, | ||
| double | g | ||
| ) |
Class constructor.
| rv | Value of the riemann invariant |
| dir | Direction |
| sound_speed | Sound speed distribution |
| g | Adiabatic index |
Definition at line 39 of file simple_waves_ideal_gas.cpp.
|
virtual |
Calculates initial conditions.
| x | Position |
Implements SpatialDistribution1D.
Definition at line 44 of file simple_waves_ideal_gas.cpp.

1.8.13