From 734c378f49a5e155970e129821f28e2d6e5cff5e Mon Sep 17 00:00:00 2001 From: sbosse Date: Fri, 29 Nov 2024 16:31:04 +0100 Subject: [PATCH] Fri 29 Nov 2024 04:30:50 PM CET --- src/SimNDT/core/boundary.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/SimNDT/core/boundary.py diff --git a/src/SimNDT/core/boundary.py b/src/SimNDT/core/boundary.py new file mode 100644 index 0000000..978e84c --- /dev/null +++ b/src/SimNDT/core/boundary.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python +# encoding: utf-8 +""" +boundary.py + +Created by Miguel Molero on 2013-09-14. +Copyright (c) 2013 MMolero. All rights reserved. +""" + +from SimNDT.core.constants import * + +class Boundary: + def __init__(self, name="Top", BC=BC.AirLayer, size=0): + self.Name = name + self.BC = BC + self.Size = size + + def __str__(self): + return "Boundary: Name={}, BC={}, Size={}".format(self.Name, self.BC, self.Size) + + def __repr__(self): + return "Boundary(name='{}', BC='{}', size={})".format(self.Name, self.BC, self.Size) + +