diff --git a/gmsh/03_plotter.py b/gmsh/03_plotter.py index c6d1e6c..64284ca 100644 --- a/gmsh/03_plotter.py +++ b/gmsh/03_plotter.py @@ -1,12 +1,14 @@ +import sys import sqlite3 import numpy as np -con = sqlite3.connect('data.db') +con = sqlite3.connect(sys.argv[1]) cur = con.cursor() orders = np.array(cur.execute('select distinct ord from results').fetchall())[:,0] eps = np.array(cur.execute('select distinct ep from results').fetchall())[:,0] +res = np.array(cur.execute('select distinct res from results').fetchall())[:,0] print "#", orders, eps with open('time.out', 'w') as time_file: