SpECTRE  v2024.04.12
EquationsOfState::PiecewisePolytropicFluid< IsRelativistic >::PolytropicConstantLow Struct Reference

The constant \(K\) scaling the low density material \(p=K\rho^{\Gamma}\). More...

#include <PiecewisePolytropicFluid.hpp>

Public Types

using type = double
 

Static Public Member Functions

static double lower_bound ()
 

Static Public Attributes

static constexpr Options::String help
 

Detailed Description

template<bool IsRelativistic>
struct EquationsOfState::PiecewisePolytropicFluid< IsRelativistic >::PolytropicConstantLow

The constant \(K\) scaling the low density material \(p=K\rho^{\Gamma}\).

Note, by enforcing pressure continuity at the transition density \(\bar{\rho}\), the high density constant \(K_{high}\) is given as \(K_{high} = K_{low} (\bar{\rho})^{\Gamma_{low} - \Gamma_{high}}\).

Member Data Documentation

◆ help

template<bool IsRelativistic>
constexpr Options::String EquationsOfState::PiecewisePolytropicFluid< IsRelativistic >::PolytropicConstantLow::help
staticconstexpr
Initial value:
= {
"Polytropic constant K for lower"
" density material"}

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