POLY File Format
Files in POLY format store HDF5 data describing a composite polytrope model. This format adheres to the following conventions:
All data objects are attached to the root HDF5 group (/)
Real values are written with type H5T_IEEE_F64LE when GYRE is compiled in double precision (the default), and type H5T_IEEE_F32LE otherwise
Integer values are written with type H5T_STD_I32LE
Data items in the root HDF5 group are as follows:
Data Item |
Variable |
Object type |
Data type |
Definition |
---|---|---|---|---|
|
\(N\) |
attribute |
integer |
number of grid points |
|
\(\nreg\) |
attribute |
integer |
number of regions |
|
\(n_{i}\) |
attribute |
real ( |
polytropic indices of regions |
|
\(z_{i-1/2}\) |
attribute |
real ( |
radial coordinates of region boundaries |
|
\(\Delta_{i-1/2}\) |
attribute |
real ( |
log density jump of region boundaries |
|
\(\Gamma_{1}\) |
attribute |
real |
first adiabatic exponent |
|
\(z\) |
dataset |
real ( |
polytropic radial coordinate |
|
\(\theta\) |
dataset |
real ( |
Lane-Emden variable |
|
\(\theta'\) |
dataset |
real ( |
Derivative of Lane-Emden variable |