# # $Id: output.hnb,v 1.3 2002/05/08 20:27:32 rauch Exp $ # # HNBody output options (not required for initialization). # # All of the following items are optional. The four types of files are # completely independent, but all require that Tfinal be defined. The Header, # Digits, and Types items are optional (defaulting to True, 6, and all # particles, respectively); all others are required if the associated file # type is defined. Files not defined will not be written. Tfinal and all # Intervals are in units of TimeUnit by default, or in units of StepSize if # Steps is specified; in either case, values are rounded to the nearest # integer multiple of the StepSize. # Tfinal = 10000 # final integration time ([TimeUnit] or Steps) # # In OutputFiles, consecutive lines correspond to epochs separated by # OutputInterval. A %d in the file name is replaced by the body's id number # (if missing, the number is appended to the end). Bodies are numbered from 1 # in the order they were input, except that the dominant mass is always #0; # this default can be overridden by specifying an IdTag in the InputOrder. # OutputFiles: body%d.dat # name of body-specific output files OutputOrder: time x1 v3 ecc # data columns OutputInterval: 10 # time interval for output ([TimeUnit] or Steps) OutputCoord: Barycentric # output coordinate system OutputHeader: True # Include column id codes and comments? OutputDigits: 8 # precision of numbers in output OutputTypes: HWPs # particle types to produce files for # # In StateFiles, each line corresponds to a single body; bodies are listed # in order of their id tags (input order by default). A %d in the file name is # replaced by the sequence number (with 0 corresponding to T = Tinitial); # if missing, the number is appended to the end. # StateFiles: state%02d.dat # file to write system snapshots StateOrder: x1 x2 x3 v1 v2 v3 # data columns StateInterval: 2500 # interval to write state ([TimeUnit] or Steps) StateCoord: Bodycentric # coordinate system StateHeader: no # Include column id codes and comments? StateDigits: 16 # precision of numbers StateTypes: HWPs ZWPs # particle types to include # # A SaveFile saves mutable integration data (in an unspecified format) # to allow restoration upon crashes, power failures, etc. Note that restarting # an integration also requires the original input file. A %d in the file name # is replaced by the sequence number (with 0 corresponding to T = Tinitial); # if omitted, the save file will be overwrittem each time. # SaveFiles: save%d.dat # Low-level save file to allow restarting SaveInterval: 5000 # interval to save state ([TimeUnit] or Steps) # # EnergyFile has a fixed column format: # Time (E-E0)/E0 (Lx-Lx0)/L0 (Ly-Ly0)/L0 (Lz-Lz0)/L0 # E = total energy, Li = total angular momentum component # EnergyFile: energy.dat # file tracing system energy/angular momentum EnergyHeader: True # Include column id comments? EnergyInterval: 100 Steps # interval to write data ([TimeUnit] or Steps)