parameters_testing_utilities.py
def _run_simulation(simulation_func: Callable,
                    parameters: dict,
                    temperature_plot=None,
                    heat_flux_plot=None,
                    progress_callback=None,
                    queue=None) -> dict:
    """
    Runs one simulation with inputted parameters and returns the time and
        error of the simulation
    """

    start_time = time.perf_counter()

    result = simulation_func(parameters=parameters)

    end_time = time.perf_counter()
    time_diff = round(end_time - start_time, 3)

    return {
        "time": time_diff,
        "error": result["error_value"]
    }

    Runs one simulation with inputted parameters and returns the time and
        error of the simulation
    
Runs one simulation with inputted parameters and returns the time and
error of the simulation
Runs one simulation with inputted parameters and returns the time and error of the simulation
def _run_simulation(simulation_func: Callable,
                    parameters: dict,
                    temperature_plot=None,
                    heat_flux_plot=None,
                    progress_callback=None,
                    queue=None) -> dict:
    start_time = time.perf_counter()
    result = simulation_func(parameters=parameters)
    end_time = time.perf_counter()
    time_diff = round(end_time - start_time, 3)
    return {
        "time": time_diff,
        "error": result["error_value"]
    }
def _run_simulation ( simulation_func : Callable , parameters : dict , temperature_plot = None , heat_flux_plot = None , progress_callback = None , queue = None ) -> dict : start_time = time . perf_counter ( ) result = simulation_func ( parameters = parameters ) end_time = time . perf_counter ( ) time_diff = round ( end_time - start_time , 3 ) return { "time" : time_diff , "error" : result [ "error_value" ] }
Runs one simulation with inputted parameters and returns the time and
error of the simulation
Runs one simulation with inputted parameters and returns the time and error of the simulation
"""
    Runs one simulation with inputted parameters and returns the time and
        error of the simulation
    """
simulation_func
Callable
parameters
dict
temperature_plot
heat_flux_plot
progress_callback
queue