Package pyxsd :: Package transforms :: Module atom
[hide private]
[frames] | no frames]

Source Code for Module pyxsd.transforms.atom

1 -class Atom (object):
2 """ 3 4 ================================== 5 Transform Library: CellSizer: Atom 6 ================================== 7 8 :Author: Karl Norby <knorby@uchicago.edu> 9 :Date: Fri, 1 Sept 2006 10 :Category: Computational Materials Science 11 :Description: A class for atoms 12 :Copyright: pyXSD License 13 14 Included as part of the CellSizer Library 15 16 """ 17 #======================================================= 18 #
19 - def __init__(self, position, atomType):
20 21 self.position = position 22 self.atomType = atomType
23