Public Member Functions | List of all members
EntropyProf Class Reference

Spatial distribution of the entropy. More...

#include <simple_waves_ideal_gas.hpp>

Inheritance diagram for EntropyProf:
Inheritance graph
[legend]
Collaboration diagram for EntropyProf:
Collaboration graph
[legend]

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...
 
- Public Member Functions inherited from SpatialDistribution1D
virtual ~SpatialDistribution1D (void)
 Abstract class for initial conditions. More...
 

Detailed Description

Spatial distribution of the entropy.

Definition at line 150 of file simple_waves_ideal_gas.hpp.

Constructor & Destructor Documentation

◆ EntropyProf()

EntropyProf::EntropyProf ( SpatialDistribution1D const &  density,
SpatialDistribution1D const &  pressure,
double  adiabatic_index 
)

Class constructor.

Parameters
densityDensity distribution
pressurePressure distribution
adiabatic_indexAdiabatic index

Definition at line 84 of file simple_waves_ideal_gas.cpp.

Member Function Documentation

◆ operator()()

double EntropyProf::operator() ( double  x) const
virtual

Calculates initial conditions.

Parameters
xPosition
Returns
Value of the function at x

Implements SpatialDistribution1D.

Definition at line 90 of file simple_waves_ideal_gas.cpp.

Here is the call graph for this function:

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