swiftest.io.read_swiftest_param

swiftest.io.read_swiftest_param#

swiftest.io.read_swiftest_param(param_file_name, param, verbose=True)[source]#

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

Parameters:
  • param_file_name (PathLike) – File name of the input parameter file

  • param (dict) – Dictionary to store the entries in the user parameter 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