Пример #1
0
                                                 str(symmetryFactor),
                                                 kinematicFactor1,
                                                 kinematicFactor2,
                                                 kinematicFactor3,
                                                 pathToResTemp)

            # Set the path of the getParameters.F90 file accordingly to the current OS
            if os.name == 'nt':
                pathToParameters = 'Parameters\\\\'
            else:
                pathToParameters = 'Parameters' + os.sep
            CommonFunctions.createGetParameterFile(pathToParameters)

            # Create the makefile and execute it
            CommonFunctions.createMakefile("makefile", pathLoopTools,
                                           pathLoopToolsLibs,
                                           useRelativeLoopToolsPath, processId)
            prompt = ['make']
            subprocess.call(prompt,
                            stdin=None,
                            stdout=None,
                            stderr=None,
                            shell=False,
                            timeout=None)
            print("\nCalculation of the full NLO decay width completed.\n")
        else:
            print("The full NLO decay width will not be calculated.\n")

        #############################
        #  Add the parameter files  #
        #############################