Public Member Functions | List of all members
AcousticInitCond Class Reference

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...
 

Detailed Description

Initial conditions giving rise to acoustic waves.

Definition at line 18 of file acoustic.hpp.

Constructor & Destructor Documentation

◆ AcousticInitCond()

AcousticInitCond::AcousticInitCond ( double  d0,
double  p0,
EquationOfState const &  eos,
double  dd,
double  wavelength 
)

Class constructor.

Parameters
d0Mean density
p0Mean pressure
eosEquation of state
ddDensity perturbation amplitude
wavelengthWavelength

Definition at line 7 of file acoustic.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ getProfile()

SpatialDistribution1D const & AcousticInitCond::getProfile ( string const &  pname) const

Returns the spatial distribution of one of the hydrodynamic variables.

Parameters
pnameName of the hydrodynamic variable
Returns
The profile

Definition at line 19 of file acoustic.cpp.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: