# New Simulation Setup ## Scenario newGeometryModel@gui/managerDialogsController.py (gui/newScenarioController.py ui_newscenario.py) ``` self.SimNDT_Scenario = Scenario(width,height,pixel,label) ``` ## Materials gui/materialSetupController.py (gui/materialLibraryController.py) - apply ``` material = Material(name, rho, c11, c12, c22, c44, label, damping, eta_v, eta_s) if self.SimNDT_Materials is None: self.SimNDT_Materials = list() self.SimNDT_Materials.append(material) else: N = len(self.SimNDT_Materials) if N != 0 and self.__NumMatTmp - 1 < N: self.SimNDT_Materials[self.__NumMatTmp - 1] = material else: self.SimNDT_Materials.append(material) ``` - addMaterial - deleteMaterial - updateValues ## Boundary Conditions gui/boundarySetupController.py (core/boundary.py) - setupBC ``` self.Boundaries.append(Boundary(name,BC,Size)) ``` ## Inspection gui/singleLaunchSetupController.py ( gui/signalSetupController.py gui/singleLaunchSetupController.py ) - requires Scenario, Source, Inspection, Transducers, Signal ``` self.Signal = Signals("GaussianSine", amplitude, frequency, cycles) transducer = Transducer('SimNDT-emisor', size, centerOffset, borderOffset, location, Point, window, False, backing) if self.Transducers is None: self.Transducers = list() self.Transducers.append(transducer) else: self.Transducers[0] = transducer self.Inspection = Transmission(location) | PulseEcho(location) self.Inspection.hideReceiver=self.hideReceiverRadioButton.isChecked() ```