Input Files
The build_poly executable reads parameters from an input file that defines a number of Fortran namelist groups, as described below.
Polytrope Parameters
The &poly
namelist group defines polytrope parameters; the
input file can contain only one. Allowable parameters are:
n_r
(default1
)Number of regions
n_poly
(default0
)Comma-separated list of length
n_r
, specifying polytropic indices for regionsz_b
Comma-separated list of length
n_r
-1, specifying radial coordinates of boundaries between regionsDelta_b
Comma-separated list of length
n_r
-1, specifying logarithmic density jumps at boundaries between regionsGamma_1
(default5./3.
)First adiabatic exponent
Numerical Parameters
The &num
namelist group defines numerical parameters; the
input file can contain only one. Allowable parameters are:
dz
(default1E-2
)Spacing of grid points in polytropic radial coordinate \(z\)
toler
(default1E-10
)Relative and absolute tolerance of Lane-Emden integrations
Output Parameters
The &out
namelist group defines output parameters; the
input file can contain only one. Allowable parameters are:
file
Name of POLY-format file to write to