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 (default 1)

Number of regions

n_poly (default 0)

Comma-separated list of length n_r, specifying polytropic indices for regions

z_b

Comma-separated list of length n_r-1, specifying radial coordinates of boundaries between regions

Delta_b

Comma-separated list of length n_r-1, specifying logarithmic density jumps at boundaries between regions

Gamma_1 (default 5./3.)

First adiabatic exponent

Numerical Parameters

The &num namelist group defines numerical parameters; the input file can contain only one. Allowable parameters are:

dz (default 1E-2)

Spacing of grid points in polytropic radial coordinate \(z\)

toler (default 1E-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