From ec1438edacf1d9002a01e630cde4be8250687e07 Mon Sep 17 00:00:00 2001 From: sbosse Date: Fri, 29 Nov 2024 16:31:55 +0100 Subject: [PATCH] Fri 29 Nov 2024 04:30:50 PM CET --- src/SimNDT/core/simPack.py | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/SimNDT/core/simPack.py diff --git a/src/SimNDT/core/simPack.py b/src/SimNDT/core/simPack.py new file mode 100644 index 0000000..355be88 --- /dev/null +++ b/src/SimNDT/core/simPack.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +# encoding: utf-8 +""" +simPack.py + +Created by Miguel Molero on 2013-10-01. +Copyright (c) 2013 MMolero. All rights reserved. +""" + +class SimPack: + + def __init__(self, scenario, materials, boundary, inspection, source, transducers, \ + signal, simulation, geom_objects, receivers, snapShots, Library): + """ + Initializes the SimPack class with the provided simulation components. + + Parameters: + - scenario: The scenario object. + - materials: List of material objects. + - boundary: List of boundary condition objects. + - inspection: The inspection object. + - source: The source object. + - transducers: List of transducer objects. + - signal: The signal object. + - simulation: The simulation object. + - SimNDT_geom_objects: List of geometric objects. + - SimNDT_Receivers: The receivers object. + - SimNDT_SnapShots: The snapshots object. + """ + self.Boundary = boundary + self.Inspection = inspection + self.Source = source + self.Materials = materials + self.Transducers = transducers + self.Simulation = simulation + self.Scenario = scenario + self.Signal = signal + self.Geom_objects = geom_objects + self.Receivers = receivers + self.SnapShots = snapShots + self.Library = Library +