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