|
SpECTRE
v2025.08.19
|
Compute item for the sound speed squared \(c_s^2\). More...
#include <SoundSpeedSquared.hpp>
Public Types | |
| using | argument_tags = typename tmpl::list< RestMassDensity< DataType >, SpecificInternalEnergy< DataType >, SpecificEnthalpy< DataType >, hydro::Tags::EquationOfState< IsRelativistic, ThermoDim > > |
| using | return_type = Scalar< DataType > |
| using | base = SoundSpeedSquared< DataType > |
Public Types inherited from hydro::Tags::SoundSpeedSquared< DataType > | |
| using | type = Scalar< DataType > |
Static Public Member Functions | |
| template<typename EquationOfStateType > | |
| static void | function (const gsl::not_null< Scalar< DataType > * > result, const Scalar< DataType > &rest_mass_density, const Scalar< DataType > &specific_internal_energy, const Scalar< DataType > &specific_enthalpy, const EquationOfStateType &equation_of_state) |
Compute item for the sound speed squared \(c_s^2\).
Can be retrieved using hydro::Tags::SoundSpeedSquared