Beispiel #1
0
 def __init__(self, filePath):
     XSReader.__init__(self, filePath, 'results')
     self.__serpentVersion = rc['serpentVersion']
     self._counter = {'meta': 0, 'rslt': 0}
     self._numUniverses = 0
     self._univlist = []
     self.metadata, self.resdata, self.universes = {}, {}, {}
Beispiel #2
0
 def __init__(self, filePath):
     XSReader.__init__(self, filePath, 'branching')
     self.__fileObj = None
     self.branches = {}
     self._whereAmI = {key: None for key in
                       {'runIndx', 'coefIndx', 'buIndx', 'universe'}}
     self._totalBranches = None
     self._hasUncs = None
Beispiel #3
0
    def __init__(self, filePath):
        XSReader.__init__(self, filePath, 'results')

        self.metadata = {}
        self.resdata = {}
        self.universes = {}