swiftest.io.read_swift_param

swiftest.io.read_swift_param#

swiftest.io.read_swift_param(param_file_name, startfile='swift.in', verbose=True)[source]#

Reads in a Swift param.in file and saves it as a dictionary.

Parameters:
  • param_file_name (string) โ€“ File name of the input parameter file

  • startfile (string, default โ€œswift.inโ€) โ€“ File name of the input start file

  • verbose (bool, default True) โ€“ Print out information about the file being read

Returns:

param (dict) โ€“ A dictionary containing the entries in the user parameter file