SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
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
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

Member Typedef Documentation

◆ argument_tags

template<typename DataType, bool IsRelativistic, size_t ThermoDim>
using hydro::Tags::SoundSpeedSquaredCompute< DataType, IsRelativistic, ThermoDim >::argument_tags
Initial value:
typename tmpl::list<
The equation of state retrieved from the analytic solution / data in the input file.
Definition Tags.hpp:112
The rest-mass density .
Definition Tags.hpp:240
The relativistic specific enthalpy .
Definition Tags.hpp:280
The specific internal energy .
Definition Tags.hpp:286

The documentation for this struct was generated from the following file:
  • src/PointwiseFunctions/Hydro/SoundSpeedSquared.hpp