SpECTRE  v2024.04.12
hydro::Tags::SoundSpeedSquaredCompute< DataType > 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::EquationOfStateBase >
 
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>
struct hydro::Tags::SoundSpeedSquaredCompute< DataType >

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: