Ejemplo n.º 1
0
def genMaterialDict(xsFolder='./hw2'):
    '''
    Updates the global matLib with all the xs data found in the XS directory
    '''
    myXsDict = readXSFolder(xsFolder)
    for matName in myXsDict.keys():
        props = myXsDict[matName]
        for prop in props:
            matLib[matName][prop] = myXsDict[matName][prop]
    print("Done Updating Materials.")
Ejemplo n.º 2
0
def genMaterialDict(xsFolder='./hw2'):
    '''
    Updates the global matLib with all the xs data found in the XS directory
    '''
    myXsDict = readXSFolder(xsFolder)
    for matName in myXsDict.keys():
        props = myXsDict[matName]
        for prop in props:
            matLib[matName][prop] = myXsDict[matName][prop]
    print("Done Updating Materials.")
Ejemplo n.º 3
0
def loadXS(inpath):
    return rxs.readXSFolder(inpath)
Ejemplo n.º 4
0
def loadXS(inpath):
    return rxs.readXSFolder(inpath)