From fc2237aed0039701a6c74a76161467b0b6509c6a Mon Sep 17 00:00:00 2001 From: sbosse Date: Fri, 16 May 2025 23:08:24 +0200 Subject: [PATCH] Fri 16 May 23:06:54 CEST 2025 --- src/SimNDT/core/scenario.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/SimNDT/core/scenario.py b/src/SimNDT/core/scenario.py index 070515a..c70a321 100644 --- a/src/SimNDT/core/scenario.py +++ b/src/SimNDT/core/scenario.py @@ -1,3 +1,9 @@ +# +# Create the simulation model: Scenario +# +# scenario.I is the material label matrix +# scenario.Iabs is the material label matrix with boundaries +# __author__ = 'Miguel Molero' @@ -64,7 +70,7 @@ class Scenario: self.Width = int(self.N/float(self.Pixel_mm)) self.Height = int(self.N/float(self.Pixel_mm)) self.resetBoundary() - + Label = 255 for boundary in boundaries: if boundary.BC == BC.AirLayer: size = 1 @@ -131,6 +137,7 @@ class Scenario: if obj.Name == "ellipse": print("Adding ellipse to Scenario.") + print(obj) a = obj.a b = obj.b theta = obj.theta