Initial conditions giving rise to acoustic waves. More...
#include <acoustic.hpp>
Public Member Functions | |
AcousticInitCond (double d0, double p0, EquationOfState const &eos, double dd, double wavelength) | |
Class constructor. More... | |
SpatialDistribution1D const & | getProfile (string const &pname) const |
Returns the spatial distribution of one of the hydrodynamic variables. More... | |
Initial conditions giving rise to acoustic waves.
Definition at line 18 of file acoustic.hpp.
AcousticInitCond::AcousticInitCond | ( | double | d0, |
double | p0, | ||
EquationOfState const & | eos, | ||
double | dd, | ||
double | wavelength | ||
) |
Class constructor.
d0 | Mean density |
p0 | Mean pressure |
eos | Equation of state |
dd | Density perturbation amplitude |
wavelength | Wavelength |
Definition at line 7 of file acoustic.cpp.
SpatialDistribution1D const & AcousticInitCond::getProfile | ( | string const & | pname | ) | const |
Returns the spatial distribution of one of the hydrodynamic variables.
pname | Name of the hydrodynamic variable |
Definition at line 19 of file acoustic.cpp.