def setUp(self):
        if not hasattr(UFOParserTest, 'model'):
            self.cmd = Cmd.MasterCmd()
            self.cmd.exec_cmd("import model loop_qcd_qed_sm")
            UFOParserTest.model = self.cmd._curr_model

        if not hasattr(self, 'calc'):
            self.calc = parsers.UFOExpressionParserFortran(UFOParserTest.model)
        if not hasattr(self, 'mp_calc'):
            self.mp_calc = parsers.UFOExpressionParserMPFortran(
                UFOParserTest.model)
Exemple #2
0
 def setUp(self):
     if not hasattr(self, 'calc'):
         self.calc = parsers.UFOExpressionParserFortran()
     if not hasattr(self, 'mp_calc'):
         self.mp_calc = parsers.UFOExpressionParserMPFortran()