Esempio 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.")
Esempio 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.")
Esempio n. 3
0
def loadXS(inpath):
    return rxs.readXSFolder(inpath)
Esempio n. 4
0
def loadXS(inpath):
    return rxs.readXSFolder(inpath)