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