Older stuff/Tests_alias_TKinter_gui.py
def prepare_simulation_with_chosen_material(self):
        """
        Determines which material we want to use, prepares all variables
            for the test (resets them), and finally prepares the simulation
        """
        # Determining the chosen material and it's properties
        chosen_material = self.material_choice.get()
        chosen_material_properties = self.MATERIAL_DICTIONARY[chosen_material]

        # Assigning the properties we are interested in
        rho = int(chosen_material_properties["rho"])
        cp = int(chosen_material_properties["cp"])
        lmbd = int(chosen_material_properties["lmbd"])

        # Saving the chosen material to have access to it
        self.chosen_material = chosen_material

        # Reseting all information from previous test
        self.simulation_started_timestamp = time.time()
        self.error_value_placeholder["bg"] = "white"
        self.error_value_placeholder["text"] = "Error value: "

        # Preparing the actual tests with the material data
        self.PrepareSimulation(rho, cp, lmbd)

        return True

        Determines which material we want to use, prepares all variables
            for the test (resets them), and finally prepares the simulation
        
Determines which material we want to use, prepares all variables
for the test (resets them), and finally prepares the simulation
Determines which material we want to use prepares all variables for the test ( resets them ) and finally prepares the simulation
def prepare_simulation_with_chosen_material(self):
        chosen_material = self.material_choice.get()
        chosen_material_properties = self.MATERIAL_DICTIONARY[chosen_material]
        rho = int(chosen_material_properties["rho"])
        cp = int(chosen_material_properties["cp"])
        lmbd = int(chosen_material_properties["lmbd"])
        self.chosen_material = chosen_material
        self.simulation_started_timestamp = time.time()
        self.error_value_placeholder["bg"] = "white"
        self.error_value_placeholder["text"] = "Error value: "
        self.PrepareSimulation(rho, cp, lmbd)
        return True
def prepare_simulation_with_chosen_material ( self ) : chosen_material = self . material_choice . get ( ) chosen_material_properties = self . MATERIAL_DICTIONARY [ chosen_material ] rho = int ( chosen_material_properties [ "rho" ] ) cp = int ( chosen_material_properties [ "cp" ] ) lmbd = int ( chosen_material_properties [ "lmbd" ] ) self . chosen_material = chosen_material self . simulation_started_timestamp = time . time ( ) self . error_value_placeholder [ "bg" ] = "white" self . error_value_placeholder [ "text" ] = "Error value: " self . PrepareSimulation ( rho , cp , lmbd ) return True
Determines which material we want to use, prepares all variables
for the test (resets them), and finally prepares the simulation
Determines which material we want to use prepares all variables for the test ( resets them ) and finally prepares the simulation
"""
        Determines which material we want to use, prepares all variables
            for the test (resets them), and finally prepares the simulation
        """ # Determining the chosen material and it's properties # Assigning the properties we are interested in # Saving the chosen material to have access to it # Reseting all information from previous test # Preparing the actual tests with the material data
self