Ejemplo n.º 1
0
 def __init__(self):
     """
   Initializes the SERPENT Interface.
   @ In, None
   @ Out, None
 """
     GenericCode.__init__(self)
     self.printTag = 'SERPENT'  # Print Tag
     self.isotope_list_f = None  # isotope list file (if any)
     self.isotopes = []  # isotopes to collect
     self.traceCutOff = 1.e-7  # cutoff threshold for ignoring isotopes
Ejemplo n.º 2
0
 def __init__(self):
   """
     Initializes the SAPHIRE code interface
     @ In, None
     @ Out, None
   """
   GenericCode.__init__(self)
   self.codeOutputs = {} # dict of {codeOutputFileName:codeOutputFileType}, SAPHIRE can generate multiple output files
                         # such as uncertainty files for event trees or fault trees, and importance files for event
                         # trees or fault trees. This dictionary will store the users defined outputflies that
                         # will be collected.
   self.outputDest = 'Publish' # Saphire will dump its outputs to this folder
   self.ignoreInputExtensions = ['zip'] # the list of input extensions that will be ignored by the code interface.
                                        # i.e. files with extension 'zip' will not be perturbed.
   self.setRunOnShell(shell=False) # Saphire can not run through shell