SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::solver::continuation::PolytropicConstant Struct Referencefinal

#include <stellar_parameters.hpp>

Collaboration diagram for serif::solver::continuation::PolytropicConstant:
[legend]

Public Types

using Specification = eos::models::Polytrope
 
using Value = double
 

Static Public Member Functions

static double read (const Specification &value) noexcept
 Read the dimensional numerical coefficient in the current physical units.
 
static bool valid (double value) noexcept
 A finite positive coefficient gives positive pressure at positive density.
 

Static Public Attributes

static constexpr std::string_view name = "polytropic constant"
 
static constexpr std::string_view stable_id = "polytrope.constant"
 

Member Typedef Documentation

◆ Specification

◆ Value

Member Function Documentation

◆ read()

static double serif::solver::continuation::PolytropicConstant::read ( const Specification & value)
inlinestaticnodiscardnoexcept

Read the dimensional numerical coefficient in the current physical units.

◆ valid()

static bool serif::solver::continuation::PolytropicConstant::valid ( double value)
inlinestaticnodiscardnoexcept

A finite positive coefficient gives positive pressure at positive density.

Member Data Documentation

◆ name

std::string_view serif::solver::continuation::PolytropicConstant::name = "polytropic constant"
staticconstexpr

◆ stable_id

std::string_view serif::solver::continuation::PolytropicConstant::stable_id = "polytrope.constant"
staticconstexpr

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