NumericalInverse.py
def after_simulation_action(self, SimController=None):
        """
        Defines what should happen after the simulation is over

        Has access to all the variables from SimController, so can
            freely communicate with the GUI

        Args:
            SimController ... whole simulation controller object
                - containing all the references to GUI
        """

        # Determining the error margin before smoothing
        self.error_norm = self._calculate_final_error()
        print("Error norm before smoothing: {}".format(self.error_norm))

        self._perform_smoothing(SimController)

        # Determining the error margin after smoothing
        self.error_norm = self._calculate_final_error()
        print("Error norm after smoothing: {}".format(self.error_norm))

        # Show the iteration statistics
        print("amount of steps: ", self.current_step_idx)
        print("number_of_iterations", self.number_of_iterations)
        print("average of iterations", self.number_of_iterations / self.current_step_idx)

        Defines what should happen after the simulation is over

        Has access to all the variables from SimController, so can
            freely communicate with the GUI

        Args:
            SimController ... whole simulation controller object
                - containing all the references to GUI
        
Defines what should happen after the simulation is over
Has access to all the variables from SimController, so can
freely communicate with the GUI


Defines what should happen after the simulation is over Has access to all the variables from SimController so can freely communicate with the GUI
def after_simulation_action(self, SimController=None):
        self.error_norm = self._calculate_final_error()
        print("Error norm before smoothing: {}".format(self.error_norm))
        self._perform_smoothing(SimController)
        self.error_norm = self._calculate_final_error()
        print("Error norm after smoothing: {}".format(self.error_norm))
        print("amount of steps: ", self.current_step_idx)
        print("number_of_iterations", self.number_of_iterations)
        print("average of iterations", self.number_of_iterations / self.current_step_idx)
def after_simulation_action ( self , SimController = None ) : self . error_norm = self . _calculate_final_error ( ) print ( "Error norm before smoothing: {}" . format ( self . error_norm ) ) self . _perform_smoothing ( SimController ) self . error_norm = self . _calculate_final_error ( ) print ( "Error norm after smoothing: {}" . format ( self . error_norm ) ) print ( "amount of steps: " , self . current_step_idx ) print ( "number_of_iterations" , self . number_of_iterations ) print ( "average of iterations" , self . number_of_iterations / self . current_step_idx )
Defines what should happen after the simulation is over
Has access to all the variables from SimController, so can
freely communicate with the GUI
Defines what should happen after the simulation is over Has access to all the variables from SimController so can freely communicate with the GUI
"""
        Defines what should happen after the simulation is over

        Has access to all the variables from SimController, so can
            freely communicate with the GUI

        Args:
            SimController ... whole simulation controller object
                - containing all the references to GUI
        """ # Determining the error margin before smoothing # Determining the error margin after smoothing # Show the iteration statistics
self
SimController