|
cellSizerInit(self)
|
|
getBravaisVectors(self)
|
|
getVectorList(self)
|
|
getAtoms(self)
|
|
makeNewXml(self,
bravaisLattice)
|
|
makeNewXmlAtomElements(self,
atom)
|
|
makeAtom(self,
position,
atomType)
|
|
makeBravaisLattice(self,
newVectors,
newAtoms)
|
|
getCartesianCoords(self,
vectors,
position)
|
|
findCenter(self,
vectors)
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
|
__init__(self)
Cannot Initialize a true abstact class!
|
|
classCollector(self,
instance,
attrNames,
elemNames,
collectorDict)
Visitor function to make a dictionary that associates a class with
its instances.
|
|
find(self,
tagName,
baseElem)
|
|
findAll(self,
tagName,
baseElem)
|
|
getAllSubElements(self,
root)
Function to use the walk function with the tagCollector
visitor function to make a dictionary that associates all
elements with their sub-Elements.
|
|
getElementsByName(self,
root,
name)
Function to use the walk function with the tagFinder
visitor function to make a list containing all elements
with a particular name.
|
|
getInstancesByClassName(self,
root)
Function to use the walk function with the classCollector
visitor function.
|
|
makeCommentElem(self,
comment)
|
|
makeElemObj(self,
name)
Creates a new element that contains the proper tree stucture
|
|
tagCollector(self,
instance,
attrNames,
elemNames,
collectorDict)
A visitor function that is used to make a dictionary that associates
a tag name with its children.
|
|
tagFinder(self,
instance,
attrNames,
elemNames,
collection,
name)
A visitor function to collect all tags with a particular name, and
put them into a list.
|
|
walk(self,
instance,
visitor,
*args,
**kwargs)
|