Equations of State

The various available equations of state. More...

## Classes

class  EquationsOfState::DarkEnergyFluid< IsRelativistic >
Equation of state for a dark energy fluid. More...

class  EquationsOfState::EquationOfState< IsRelativistic, ThermodynamicDim >
Base class for equations of state depending on whether or not the system is relativistic, and the number of independent thermodynamic variables (ThermodynamicDim) needed to determine the pressure. More...

class  EquationsOfState::EquationOfState< IsRelativistic, 1 >
Base class for equations of state which need one thermodynamic variable in order to determine the pressure. More...

class  EquationsOfState::EquationOfState< IsRelativistic, 2 >
Base class for equations of state which need two independent thermodynamic variables in order to determine the pressure. More...

class  EquationsOfState::IdealFluid< IsRelativistic >
Equation of state for an ideal fluid. More...

class  EquationsOfState::PolytropicFluid< IsRelativistic >
Equation of state for a polytropic fluid. More...

## Macros

#define EQUATION_OF_STATE_FORWARD_DECLARE_MEMBERS(DERIVED, DIM)
Macro used to generate forward declarations of member functions in derived classes. More...

## Functions

template<typename DataType >
Scalar< DataType > hydro::specific_enthalpy (const Scalar< DataType > &rest_mass_density, const Scalar< DataType > &specific_internal_energy, const Scalar< DataType > &pressure) noexcept
Computes the relativistic specific enthalpy $h$ as: $h = 1 + \epsilon + \frac{p}{\rho}$ where $\epsilon$ is the specific internal energy, $p$ is the pressure, and $\rho$ is the rest mass density.

## Detailed Description

The various available equations of state.

## ◆ EQUATION_OF_STATE_FORWARD_DECLARE_MEMBERS

 #define EQUATION_OF_STATE_FORWARD_DECLARE_MEMBERS ( DERIVED, DIM )
Value:
BOOST_PP_LIST_FOR_EACH( \
EQUATION_OF_STATE_FORWARD_DECLARE_MEMBERS_HELPER, DIM, \
BOOST_PP_TUPLE_TO_LIST(BOOST_PP_TUPLE_ELEM( \
BOOST_PP_SUB(DIM, 1), \
(EQUATION_OF_STATE_FUNCTIONS_1D, EQUATION_OF_STATE_FUNCTIONS_2D)))) \
\
/* clang-tidy: do not use non-const references */ \
void pup(PUP::er& p) noexcept override; /* NOLINT */ \
\
explicit DERIVED(CkMigrateMessage* /*unused*/) noexcept;

Macro used to generate forward declarations of member functions in derived classes.