SpECTRE
v2024.03.19
|
Compute item for the sound speed squared \(c_s^2\). More...
#include <SoundSpeedSquared.hpp>
Public Types | |
using | argument_tags = tmpl::list< hydro::Tags::RestMassDensity< DataType >, hydro::Tags::SpecificInternalEnergy< DataType >, hydro::Tags::EquationOfState< false, 2 > > |
using | return_type = Scalar< DataType > |
using | base = hydro::Tags::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 > &mass_density, const Scalar< DataType > &specific_internal_energy, const EquationOfStateType &equation_of_state) |
Compute item for the sound speed squared \(c_s^2\).
Can be retrieved using NewtonianEuler::Tags::SoundSpeedSquared