Public Member Functions | List of all members
SimpleWaveIdealGasInitCond Class Reference

Initial conditions for simple waves in an ideal gas. More...

#include <simple_waves_ideal_gas.hpp>

Public Member Functions

 SimpleWaveIdealGasInitCond (SpatialDistribution1D const &density, double entropy, double adiabatic_index, double edge=3)
 Class constructor. More...
 
IdealGas const & getEOS (void) const
 Returns the equation of state. More...
 
SpatialDistribution1D const & getProfile (string pname) const
 Returns the appropriate spatial profile. More...
 

Detailed Description

Initial conditions for simple waves in an ideal gas.

The user supplies this class with a density distribution, and the class calculates the corresponding pressure and velocity so it would be a simple wave.

Definition at line 110 of file simple_waves_ideal_gas.hpp.

Constructor & Destructor Documentation

◆ SimpleWaveIdealGasInitCond()

SimpleWaveIdealGasInitCond::SimpleWaveIdealGasInitCond ( SpatialDistribution1D const &  density,
double  entropy,
double  adiabatic_index,
double  edge = 3 
)

Class constructor.

Parameters
densityDensity profile
entropyEntropy
adiabatic_indexAdiabatic index
edgePosition outside the disturbed region

Definition at line 51 of file simple_waves_ideal_gas.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ getEOS()

IdealGas const & SimpleWaveIdealGasInitCond::getEOS ( void  ) const

Returns the equation of state.

Returns
Ideal gas equation of state

Definition at line 65 of file simple_waves_ideal_gas.cpp.

◆ getProfile()

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

Returns the appropriate spatial profile.

Parameters
pnameName of the Hydrodynamic variables
Returns
Spatial profile

Definition at line 70 of file simple_waves_ideal_gas.cpp.


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