from numpy import array import time from simCythonCPP import Simulator #test = raw_input("Choise the Script with the data for the TEST (without '.py'): ") test='BoscaNew' data=__import__(test) now = time.time() Sim = Simulator(**data.kargs) print "termina de inicializar" Sim.printData() Sim.solver() now2 = time.time() print now2-now
# coding= utf-8 from numpy import array import time import sys import os from simCythonCPP import Simulator sys.path.append("/icesym/ICESym-GUI/saves") os.system("rm /icesym/ICESym-GUI/saves*.pyc ") os.system("rm cyl_debug.csv ") os.system("rm tube_debug.csv ") os.system("rm convergence_debug.csv ") data = __import__("multicyl4TSI") now = time.time() Sim = Simulator(**data.kargs) print "termina de inicializar" Sim.printData() Sim.solver() now2 = time.time() print now2 - now
from numpy import array import validator import fuel_lib import myfunction import time import sys from simCythonCPP import Simulator sys.path.append(sys.argv[1]) data = __import__(sys.argv[2]) now = time.time() Sim = Simulator(**data.kargs) print "termina de inicializar" #Sim.printData() Sim.solver() now2 = time.time() print now2 - now