pycopm.utils.input_values module

Utiliy functions to set the input values from the toml configuration file.

pycopm.utils.input_values.initialize_values(dic)

Function to initialize the dic variables.

Args:

dic (dict): Global dictionary with required parameters

Returns:

dic1 (dict): Local dictionary

pycopm.utils.input_values.process_input(dic, in_file)

Function to process the input file

Args:

dic (dict): Global dictionary with required parameters

in_file (str): Name of the input text file

Returns:

dic (dict): Modified global dictionary

pycopm.utils.input_values.read_reference(dic)

Function to read the cell quantities from the uncoarsened simulation output.

Args:

dic (dict): Global dictionary with required parameters

Returns:

dic (dict): Modified global dictionary