Example #1
0
 def __init__(self, runInfoDict):
   """
     Constructor
     @ In, runInfoDict, dict, the dictionary containing the runInfo (read in the XML input file)
     @ Out, None
   """
   Model.__init__(self,runInfoDict)
   self.inputCheckInfo  = []     # List of tuple, i.e input objects info [('name','type')]
   self.action = None            # action
   self.workingDir = ''          # path for working directory
   self.printTag = 'POSTPROCESSOR MODEL'
   self.outputDataset  = False # True if the user wants to dump the outputs to dataset
   self.validDataType = ['PointSet','HistorySet'] # The list of accepted types of DataObject
   ## Currently, we have used both DataObject.addRealization and DataObject.load to
   ## collect the PostProcessor returned outputs. DataObject.addRealization is used to
   ## collect single realization, while DataObject.load is used to collect multiple realizations
   ## However, the DataObject.load can not be directly used to collect single realization
   ## One possible solution is all postpocessors return a list of realizations, and we only
   ## use addRealization method to add the collections into the DataObjects
   self.outputMultipleRealizations = False