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
Integer values are written with type H5T_STD_I32LE
The data objects appearing in the root group are as follows:
Object name |
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 |