SpECTRE  v2025.08.19
hydro::Tags::SoundSpeedSquaredCompute< DataType, IsRelativistic, ThermoDim > Struct Template Reference

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)
 

Detailed Description

template<typename DataType, bool IsRelativistic, size_t ThermoDim>
struct hydro::Tags::SoundSpeedSquaredCompute< DataType, IsRelativistic, ThermoDim >

Compute item for the sound speed squared \(c_s^2\).

See also
hydro::sound_speed_squared

Can be retrieved using hydro::Tags::SoundSpeedSquared


The documentation for this struct was generated from the following file: