Fri 29 Nov 2024 04:30:50 PM CET

This commit is contained in:
sbosse 2024-11-29 16:31:04 +01:00
parent 6f8e98c9e0
commit 734c378f49

View File

@ -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)