Grid Namelist Group

The &grid namelist group controls how the spatial grid is constructed. The following options are available:

scaffold_src (type: string, default: 'MODEL')

Source for scaffold grid; one of:

  • 'MODEL' : Obtained from the stellar model

  • 'FILE' : Read from a file (see the file and file_format options)

x_i (type: real)

Inner boundary coordinate of calculation grid. If not specified, taken from the model grid

x_o (type: real)

Outer boundary coordinate of calculation grid. If not specified, taken from the model grid

w_osc (type: real, default: 0)

Oscillatory weight \(w_{\rm osc}\)

w_exp (type: real, default: 0)

Exponential weight \(w_{\rm exp}\)

w_ctr (type: real, default: 0)

Center weight \(w_{\rm ctr}\)

w_thm (type: real, default: 0)

Thermal weight \(w_{\rm thm}\)

w_str (type: real, default: 0)

Structural weight \(w_{\rm str}\)

dx_min (type: real, default: SQRT(EPSILON(1._WP)))

Minimum spacing of grid points

dx_max (type: real, default: HUGE(0._WP))

Maximum spacing of grid points

n_iter_max (type: integer, default: 32)

Maximum number of refinement iterations

resolve_ctr (type: logical, default: .TRUE.)

Flag to resolve central evanescent region

file (type: string, default: '')

Name of file containing scaffold grid data. Used only when scaffold_src = 'FILE'

file_format (type: string, default: '')

Format of file containing scaffold grid data; one of

  • 'TEXT': text file with one abscissa value per line

  • 'DETAIL': detail file with abscissa values provided in x dataset

Used only when scaffold_src = 'FILE'

tag_list (type: string, default: '')

Comma-separated list of tag values to match; matches all if left blank

See the Spatial Grids section for further details, in particular a discussion of how the weight options (w_osc, w_exp, etc.) work.